changed inut type for tax , base, tds

This commit is contained in:
pramod.mahajan 2025-11-06 09:15:29 +05:30
parent 06e8046dde
commit d9e1bfac97
2 changed files with 5 additions and 5 deletions

View File

@ -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,
};

View File

@ -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")}
/>