Commit 9482e01
fix: ServiceOrder status API returns number and improve customer name fallback
- Change ServiceOrderDto.Status from string to int to return numeric status values
- Update GetServiceOrdersQueryHandler to cast status enum to int
- Improve dashboard recent-orders customerName fallback: Name -> Email -> Customer ID
- Improve dealer name fallback: Name -> Email -> No Dealer Assigned
- ServiceOrder status now returns: 1=Scheduled, 2=InProgress, 3=Completed, 4=Cancelled1 parent 26991d7 commit 9482e01
File tree
3 files changed
+4
-4
lines changed- VehicleShowroomManagement/src/Application/Features
- Dashboard/Queries/GetRecentOrders
- ServiceOrders/Queries/GetServiceOrders
3 files changed
+4
-4
lines changedLines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
0 commit comments