added zwg support
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user