ui improvements

This commit is contained in:
2025-09-01 20:17:08 +02:00
parent daf4450f7a
commit 6e2f91d2c0
30 changed files with 1822 additions and 224 deletions

View File

@@ -112,7 +112,7 @@ class PayController extends ChangeNotifier {
);
dynamic response = await http.post(
'/transaction',
'/public/transaction',
transactionController.model.formData,
);
logger.i(response.toString());
@@ -148,7 +148,7 @@ class PayController extends ChangeNotifier {
model.isLoading = true;
List<dynamic> response = await http.get(
'/providers/$providerId/products',
'/public/providers/$providerId/products',
);
model.products = response.map((e) => BillProduct.fromJson(e)).toList();
} catch (e) {
@@ -168,7 +168,7 @@ class PayController extends ChangeNotifier {
model.paymentProcessors = getFakePaymentProcessors();
notifyListeners();
List<dynamic> response = await http.get('/payment-processors');
List<dynamic> response = await http.get('/public/payment-processors');
model.paymentProcessors =
response.map((e) => PaymentProcessor.fromJson(e)).toList();