numeric keypad for Productive and Actual Hours
This commit is contained in:
@@ -147,6 +147,7 @@ export function TimeTicketClockOff({
|
||||
onBlur={handleBlur("actualhours")}
|
||||
value={values.actualhours}
|
||||
label={"Actual Hours"}
|
||||
keyboardType="numeric"
|
||||
/>
|
||||
<TextInput
|
||||
style={localStyles.inputStyle}
|
||||
@@ -155,6 +156,7 @@ export function TimeTicketClockOff({
|
||||
onBlur={handleBlur("productivehours")}
|
||||
value={values.productivehours}
|
||||
label={"Productive Hours"}
|
||||
keyboardType="numeric"
|
||||
/>
|
||||
<CostCenterSelect
|
||||
currentRatesNCostCenters={currentRatesNCostCenters}
|
||||
|
||||
@@ -225,9 +225,7 @@ export function TimeTicketCreate({
|
||||
style={localStyles.inputStyle}
|
||||
mode="outlined"
|
||||
disabled={true}
|
||||
onChangeText={handleChange("employee")}
|
||||
onBlur={handleBlur("employee")}
|
||||
value={values.employee}
|
||||
value={currentEmployeeFullName}
|
||||
label={"Employee"}
|
||||
/>
|
||||
|
||||
@@ -244,6 +242,7 @@ export function TimeTicketCreate({
|
||||
onBlur={handleBlur("productivehours")}
|
||||
value={values.productivehours}
|
||||
label={"Productive Hours"}
|
||||
keyboardType="numeric"
|
||||
/>
|
||||
<TextInput
|
||||
style={localStyles.inputStyle}
|
||||
@@ -252,6 +251,7 @@ export function TimeTicketCreate({
|
||||
onBlur={handleBlur("actualhours")}
|
||||
value={values.actualhours}
|
||||
label={"Actual Hours"}
|
||||
keyboardType="numeric"
|
||||
/>
|
||||
{error ? <ErrorDisplay errorMessage={error.message} /> : null}
|
||||
<Button
|
||||
|
||||
Reference in New Issue
Block a user