Initial commit for intaleq_admin

This commit is contained in:
Hamza-Ayed
2026-01-20 23:39:59 +03:00
parent 0b17f93aaa
commit a367bc7e5c
53 changed files with 20383 additions and 14662 deletions

View File

@@ -39,6 +39,7 @@ class _AddInvoicePageState extends State<AddInvoicePage> {
final driverID = '123'; // ← عدّله حسب نظامك
final invoiceNumber = generateInvoiceNumber();
final amount = _amountController.text.trim();
final itemName = _itemNameController.text.trim();
final date = DateTime.now().toIso8601String().split('T').first;
setState(() => _isLoading = true);
@@ -54,6 +55,7 @@ class _AddInvoicePageState extends State<AddInvoicePage> {
..fields['driverID'] = driverID
..fields['invoiceNumber'] = invoiceNumber
..fields['amount'] = amount
..fields['name'] = itemName
..fields['date'] = date
..headers.addAll(headers);