Added Comments
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user