From 96d0b9198497fb95cc1bbdb8709cc72461ccd1ba Mon Sep 17 00:00:00 2001 From: efrilm Date: Thu, 14 Aug 2025 00:12:49 +0700 Subject: [PATCH] feat: succes payment --- lib/data/datasources/table_remote_datasource.dart | 2 +- lib/presentation/success/pages/success_payment_page.dart | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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,