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(),
|
reimburseTransactionId: z.string().nullable().optional(),
|
||||||
reimburseDate: z.string().nullable().optional(),
|
reimburseDate: z.string().nullable().optional(),
|
||||||
reimburseById: z.string().nullable().optional(),
|
reimburseById: z.string().nullable().optional(),
|
||||||
tdsPercentage: z.number().nullable().optional(),
|
tdsPercentage: z.string().nullable().optional(),
|
||||||
baseAmount: z.string().nullable().optional(),
|
baseAmount: z.string().nullable().optional(),
|
||||||
taxAmount: z.string().nullable().optional(),
|
taxAmount: z.string().nullable().optional(),
|
||||||
})
|
})
|
||||||
@ -167,7 +167,7 @@ export const defaultActionValues = {
|
|||||||
reimburseTransactionId: null,
|
reimburseTransactionId: null,
|
||||||
reimburseDate: null,
|
reimburseDate: null,
|
||||||
reimburseById: null,
|
reimburseById: null,
|
||||||
tdsPercentage: 0,
|
tdsPercentage: null,
|
||||||
baseAmount:null,
|
baseAmount:null,
|
||||||
taxAmount: null,
|
taxAmount: null,
|
||||||
};
|
};
|
||||||
|
|||||||
@ -434,7 +434,7 @@ const ViewExpense = ({ ExpenseId }) => {
|
|||||||
TDS Percentage
|
TDS Percentage
|
||||||
</Label>
|
</Label>
|
||||||
<input
|
<input
|
||||||
type="number"
|
type="text"
|
||||||
className="form-control form-control-sm"
|
className="form-control form-control-sm"
|
||||||
{...register("tdsPercentage")}
|
{...register("tdsPercentage")}
|
||||||
/>
|
/>
|
||||||
@ -449,7 +449,7 @@ const ViewExpense = ({ ExpenseId }) => {
|
|||||||
Base Amount
|
Base Amount
|
||||||
</Label>
|
</Label>
|
||||||
<input
|
<input
|
||||||
type="number"
|
type="text"
|
||||||
className="form-control form-control-sm"
|
className="form-control form-control-sm"
|
||||||
{...register("baseAmount")}
|
{...register("baseAmount")}
|
||||||
/>
|
/>
|
||||||
@ -464,7 +464,7 @@ const ViewExpense = ({ ExpenseId }) => {
|
|||||||
Tax Amount
|
Tax Amount
|
||||||
</Label>
|
</Label>
|
||||||
<input
|
<input
|
||||||
type="number"
|
type="text"
|
||||||
className="form-control form-control-sm"
|
className="form-control form-control-sm"
|
||||||
{...register("taxAmount")}
|
{...register("taxAmount")}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user