diff --git a/lib/data/datasources/table_remote_datasource.dart b/lib/data/datasources/table_remote_datasource.dart index bbfa719..67d5c98 100644 --- a/lib/data/datasources/table_remote_datasource.dart +++ b/lib/data/datasources/table_remote_datasource.dart @@ -55,7 +55,7 @@ class TableRemoteDataSource { Future> getTable({ int page = 1, - int limit = 10, + int limit = 50, String? status, }) async { try { diff --git a/lib/presentation/success/pages/success_payment_page.dart b/lib/presentation/success/pages/success_payment_page.dart index 45bdc0e..5b1d6aa 100644 --- a/lib/presentation/success/pages/success_payment_page.dart +++ b/lib/presentation/success/pages/success_payment_page.dart @@ -887,7 +887,7 @@ class _SuccessPaymentPageState extends State { ], ), Text( - (order.totalAmount ?? 0).toString().currencyFormatRpV2, + widget.nominalBayar.currencyFormatRpV2, style: const TextStyle( fontSize: 14, fontWeight: FontWeight.w600, @@ -965,7 +965,7 @@ class _SuccessPaymentPageState extends State { ], ), child: Text( - (order.totalAmount ?? 0).toString().currencyFormatRpV2, + widget.nominalBayar.currencyFormatRpV2, style: const TextStyle( fontSize: 18, fontWeight: FontWeight.bold,