feat: integrate enakgame and voucher
Build & Deploy iOS to TestFlight / build-and-deploy (push) Canceled after 0s

This commit is contained in:
efrilm
2026-10-10 02:33:16 +07:00
parent e5515d5871
commit 38850b281f
104 changed files with 7122 additions and 8063 deletions
@@ -437,26 +437,17 @@ class _PaymentRow extends StatelessWidget {
@override
Widget build(BuildContext context) {
// Pembayaran EnakPoint: "EnakPoint 12.500 (Rp 12.500)".
final title = payment.isPoint && payment.pointsUsed != null
? '${WalletCurrency.point.label} ${payment.pointsUsed!.thousandFormat}'
: payment.methodName;
return Padding(
padding: const EdgeInsets.symmetric(vertical: 4),
child: Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
if (payment.isPoint) ...[
const WalletCurrencyIcon(currency: WalletCurrency.point, size: 20),
const SizedBox(width: 8),
],
Expanded(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
title,
payment.methodName,
style: AppStyle.sm.copyWith(fontWeight: FontWeight.w600),
),
if (payment.refundAmount > 0)
@@ -468,9 +459,7 @@ class _PaymentRow extends StatelessWidget {
),
),
Text(
payment.isPoint
? '(${payment.amount.currencyFormatRp})'
: payment.amount.currencyFormatRp,
payment.amount.currencyFormatRp,
style: AppStyle.sm.copyWith(fontWeight: FontWeight.w600),
),
],