Added Comments

This commit is contained in:
jfrye122
2023-05-05 10:54:13 -04:00
parent 7d1ad43f06
commit ff6c83c46d

View File

@@ -42,6 +42,8 @@ export function TimeTicketCreate() {
> >
{({ handleChange, handleBlur, handleSubmit, values }) => ( {({ handleChange, handleBlur, handleSubmit, values }) => (
<View style={localStyles.topTimeTicketContainer}> <View style={localStyles.topTimeTicketContainer}>
{/* Below will be replaced with a copy of SelectCostCenter but for jobs*/}
<TextInput <TextInput
style={localStyles.input} style={localStyles.input}
onChangeText={handleChange("jobid")} onChangeText={handleChange("jobid")}
@@ -50,6 +52,8 @@ export function TimeTicketCreate() {
value={values.jobid} value={values.jobid}
label={"Job to Post Against"} label={"Job to Post Against"}
/> />
{/* Below will be replaced with a Date Picker*/}
<TextInput <TextInput
style={localStyles.input} style={localStyles.input}
mode="flat" mode="flat"
@@ -58,6 +62,7 @@ export function TimeTicketCreate() {
value={values.ticketdate} value={values.ticketdate}
label={"Ticket Date"} label={"Ticket Date"}
/> />
{/* Below will set to auto fill with current employee */}
<TextInput <TextInput
style={localStyles.input} style={localStyles.input}
mode="flat" mode="flat"
@@ -67,6 +72,7 @@ export function TimeTicketCreate() {
label={"Employee"} label={"Employee"}
/> />
<SelectCostCenter /> <SelectCostCenter />
{/* Below will be replaced with SelectCostCenter */}
<TextInput <TextInput
style={localStyles.input} style={localStyles.input}
mode="flat" mode="flat"
@@ -101,6 +107,8 @@ export function TimeTicketCreate() {
</View> </View>
)} )}
</Formik> </Formik>
{/* Below is for list of jobs/tickets */}
<View style={localStyles.bottomTimeTicketContainer}> <View style={localStyles.bottomTimeTicketContainer}>
</View> </View>