perbaikan on possale string 1
This commit is contained in:
@@ -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),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user