Update: 2026-05-08 01:27:14
This commit is contained in:
@@ -67,7 +67,7 @@ class InvoiceDetailController extends GetxController {
|
||||
try {
|
||||
final res = await DioClient()
|
||||
.client
|
||||
.post('invoices/approve', data: {'invoice_id': invoiceId});
|
||||
.post('invoices/approve', data: {'id': invoiceId});
|
||||
if (res.data['success'] == true) {
|
||||
AppSnackbar.showSuccess('تم الاعتماد', 'تم اعتماد الفاتورة بنجاح');
|
||||
fetchInvoiceDetails();
|
||||
|
||||
Reference in New Issue
Block a user