perbaikan on possale string 1

This commit is contained in:
2026-04-18 22:45:08 +07:00
parent d912b1f63a
commit b1781625f2
2693 changed files with 366 additions and 6459 deletions

View File

@@ -239,8 +239,8 @@ class _CustomerDetailsState extends ConsumerState<CustomerDetails> {
lang.S.of(context).type: widget.party.type,
lang.S.of(context).phoneNumber: widget.party.phone,
lang.S.of(context).email: widget.party.email ?? "n/a",
lang.S.of(context).dueBalance: "$currency${(widget.party.due ?? "0")}",
lang.S.of(context).walletBalance: "$currency${(widget.party.wallet ?? "0")}",
lang.S.of(context).dueBalance: "$currency${formatWithSeparator(widget.party.due ?? 0)}",
lang.S.of(context).walletBalance: "$currency${formatWithSeparator(widget.party.wallet ?? 0)}",
lang.S.of(context).address: widget.party.address ?? "n/a",
// "Party Credit Limit": widget.party.creditLimit ?? "0",
// "Party GST": widget.party.creditLimit ?? "0",

View File

@@ -392,7 +392,7 @@ class _PartyListScreenState extends State<PartyListScreen> {
),
const SizedBox(width: 4),
Text(
statusAmount != null ? '$currency${statusAmount.toStringAsFixed(2)}' : '',
statusAmount != null ? '$currency${formatWithSeparator(statusAmount)}' : '',
style: _theme.textTheme.bodyMedium?.copyWith(fontSize: 16.0),
),
],