added zwg support

This commit is contained in:
Prince
2026-06-17 14:42:46 +02:00
parent cc4b02f3c9
commit 64eaa38079
12 changed files with 324 additions and 247 deletions

View File

@@ -14,6 +14,7 @@ class TransactionModel {
BillProduct? selectedProduct;
BillProvider? selectedProvider;
Map<String, dynamic>? receiptData;
String currency = 'USD';
FormData formData = FormData(
type: '',
billClientId: '',
@@ -118,6 +119,11 @@ class TransactionController extends ChangeNotifier {
notifyListeners();
}
updateCurrency(String currency) {
model.currency = currency;
notifyListeners();
}
clearFormData() {
model.formData = FormData(
id: null,