Compare commits

...

2 Commits

Author SHA1 Message Date
DeepnaPooja a2d9ba4183 Add testbug.md 2026-09-01 17:21:31 +05:30
DeepnaPooja dd1d93d032 Add validations 2026-09-01 16:11:36 +05:30
2 changed files with 24 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
# Test Bugs & Change Tracker
Running log of backend API failures found during testing and the corresponding frontend changes needed. Add one entry per issue found; move to "Resolved" once fixed and verified.
## Open
| # | Area | Backend API Failure | Frontend Change Needed | Date |
|---|------|----------------------|--------------------------|------|
| 1 | Operations → Rides (Create Ride) | On create (not save) | Add a View button to the action column in Operations → Rides table | 2026-09-01 |
| 2 | Operations → Loading Sheets | | Add a View button to the action column in Operations → Loading Sheets table | 2026-09-01 |
| 3 | Sales (Create Sale) | Sale create not working | Update the Create Sale modal UI|Add view button to the action | 2026-09-01 |
| 4 | Orders | | Add a View button to the action column in Orders table | 2026-09-01 |
| 5 | Payments (Record Payment) | Cannot add new payment | Add a View button to the action column in Payments table | 2026-09-01 |
## Resolved
| # | Area | Backend API Failure | Frontend Change Needed | Fixed In | Date |
|---|------|----------------------|--------------------------|----------|------|
| | | | | | |
@@ -169,6 +169,7 @@ export function RegionManageEntrySheet({ open, onClose, onSuccess, initial }: Re
control={form.control} control={form.control}
name="period" name="period"
label="Period" label="Period"
required
render={({ field }) => ( render={({ field }) => (
<Input <Input
type="month" type="month"
@@ -185,6 +186,7 @@ export function RegionManageEntrySheet({ open, onClose, onSuccess, initial }: Re
control={form.control} control={form.control}
name="targetValue" name="targetValue"
label="Regional Target" label="Regional Target"
required
render={({ field }) => ( render={({ field }) => (
<Input <Input
type="number" type="number"
@@ -199,6 +201,7 @@ export function RegionManageEntrySheet({ open, onClose, onSuccess, initial }: Re
control={form.control} control={form.control}
name="budgetAmount" name="budgetAmount"
label="Regional Budget" label="Regional Budget"
required
render={({ field }) => ( render={({ field }) => (
<Input <Input
type="number" type="number"
@@ -215,6 +218,7 @@ export function RegionManageEntrySheet({ open, onClose, onSuccess, initial }: Re
control={form.control} control={form.control}
name="ruleConfig" name="ruleConfig"
label="Regional Rule Config" label="Regional Rule Config"
required
render={({ field }) => ( render={({ field }) => (
<Input <Input
value={field.value as string} value={field.value as string}
@@ -230,6 +234,7 @@ export function RegionManageEntrySheet({ open, onClose, onSuccess, initial }: Re
control={form.control} control={form.control}
name="agencyUserId" name="agencyUserId"
label="Map Regional Agency" label="Map Regional Agency"
required
render={({ field }) => ( render={({ field }) => (
<Select value={field.value as string} onValueChange={field.onChange}> <Select value={field.value as string} onValueChange={field.onChange}>
<SelectTrigger> <SelectTrigger>