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),
|
||||
),
|
||||
],
|
||||
|
||||
@@ -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,
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user