changed inut type for tax , base, tds
This commit is contained in:
parent
06e8046dde
commit
d9e1bfac97
@ -114,7 +114,7 @@ export const ExpenseActionScheam = (
|
||||
reimburseTransactionId: z.string().nullable().optional(),
|
||||
reimburseDate: z.string().nullable().optional(),
|
||||
reimburseById: z.string().nullable().optional(),
|
||||
tdsPercentage: z.number().nullable().optional(),
|
||||
tdsPercentage: z.string().nullable().optional(),
|
||||
baseAmount: z.string().nullable().optional(),
|
||||
taxAmount: z.string().nullable().optional(),
|
||||
})
|
||||
@ -167,7 +167,7 @@ export const defaultActionValues = {
|
||||
reimburseTransactionId: null,
|
||||
reimburseDate: null,
|
||||
reimburseById: null,
|
||||
tdsPercentage: 0,
|
||||
tdsPercentage: null,
|
||||
baseAmount:null,
|
||||
taxAmount: null,
|
||||
};
|
||||
|
||||
@ -434,7 +434,7 @@ const ViewExpense = ({ ExpenseId }) => {
|
||||
TDS Percentage
|
||||
</Label>
|
||||
<input
|
||||
type="number"
|
||||
type="text"
|
||||
className="form-control form-control-sm"
|
||||
{...register("tdsPercentage")}
|
||||
/>
|
||||
@ -449,7 +449,7 @@ const ViewExpense = ({ ExpenseId }) => {
|
||||
Base Amount
|
||||
</Label>
|
||||
<input
|
||||
type="number"
|
||||
type="text"
|
||||
className="form-control form-control-sm"
|
||||
{...register("baseAmount")}
|
||||
/>
|
||||
@ -464,7 +464,7 @@ const ViewExpense = ({ ExpenseId }) => {
|
||||
Tax Amount
|
||||
</Label>
|
||||
<input
|
||||
type="number"
|
||||
type="text"
|
||||
className="form-control form-control-sm"
|
||||
{...register("taxAmount")}
|
||||
/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user