Update: 2026-05-08 01:27:14

This commit is contained in:
Hamza-Ayed
2026-05-08 01:27:14 +03:00
parent 928e8e27e3
commit 23813fee95
6 changed files with 227 additions and 5 deletions

View File

@@ -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();