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

@@ -237,7 +237,7 @@ class _DueCollectionScreenState extends State<DueCollectionScreen> {
TextSpan(
text: widget.customerModel.due == null
? '$currency${0}'
: '$currency${widget.customerModel.due!}',
: '$currency${formatWithSeparator(widget.customerModel.due!)}',
style: const TextStyle(color: Color(0xFFFF8C34)),
),
]),
@@ -292,7 +292,7 @@ class _DueCollectionScreenState extends State<DueCollectionScreen> {
style: const TextStyle(fontSize: 16),
),
Text(
dueAmount.toStringAsFixed(2),
formatWithSeparator(dueAmount),
style: const TextStyle(fontSize: 16),
),
],
@@ -339,7 +339,7 @@ class _DueCollectionScreenState extends State<DueCollectionScreen> {
style: const TextStyle(fontSize: 16),
),
Text(
calculateDueAmount(total: paidAmount).toStringAsFixed(2),
formatWithSeparator(calculateDueAmount(total: paidAmount)),
style: const TextStyle(fontSize: 16),
),
],

View File

@@ -131,7 +131,7 @@ class _DueCalculationContactScreenState extends State<DueCalculationContactScree
),
const SizedBox(width: 4),
Text(
'$currency ${dueCustomerList[index].due}',
'$currency ${formatWithSeparator(dueCustomerList[index].due ?? 0)}',
style: _theme.textTheme.bodyMedium?.copyWith(
fontSize: 16.0,
),