Spaces:
Runtime error
Runtime error
abhishek-akbari01 commited on
Commit ·
441c9e3
1
Parent(s): 67665c0
comments issue fixed
Browse files
src/controllers/invoice/invoice.controller.ts
CHANGED
|
@@ -793,7 +793,7 @@ export const disapproveInvoice = async (req: AuthenticatedRequest, res: Response
|
|
| 793 |
activity_type: 'approval',
|
| 794 |
field_name: 'status',
|
| 795 |
old_value: 'approve',
|
| 796 |
-
new_value: '
|
| 797 |
});
|
| 798 |
res.status(200).json({ message: 'Invoice approval reverted' });
|
| 799 |
} else {
|
|
|
|
| 793 |
activity_type: 'approval',
|
| 794 |
field_name: 'status',
|
| 795 |
old_value: 'approve',
|
| 796 |
+
new_value: 'pending',
|
| 797 |
});
|
| 798 |
res.status(200).json({ message: 'Invoice approval reverted' });
|
| 799 |
} else {
|