feat: change total to amount
Build Android APK (split per ABI) / build-apk (push) Waiting to run
Build & Deploy iOS to TestFlight / build-and-deploy (push) Waiting to run

This commit is contained in:
efrilm
2026-10-20 18:22:02 +07:00
parent 7c8b36b65d
commit 24f94fa747
11 changed files with 326 additions and 87 deletions
@@ -159,3 +159,12 @@ class PaymentOrderItem with _$PaymentOrderItem {
updatedAt: '',
);
}
/// Ringkasan order untuk kartu summary: jumlah order + total nominalnya.
@freezed
class OrderTotal with _$OrderTotal {
const factory OrderTotal({required int count, required int amount}) =
_OrderTotal;
factory OrderTotal.empty() => const OrderTotal(count: 0, amount: 0);
}