Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #747 from egovernments/PFM-5680
Browse files Browse the repository at this point in the history
PFM-5680: Thermal Printer Advance Fix
  • Loading branch information
pradeepkumarcm-egov authored Mar 11, 2024
2 parents ddc538c + 9f57eaf commit 9a146c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,9 +230,9 @@ class ConsumerBillPaymentsState extends State<ConsumerBillPayments> {
.toString()) +
' only')),
getPrinterLabel(
i18.consumerReciepts.CONSUMER_PENDING_AMOUNT,
(item.totalDue ?? 0) - (item.totalAmountPaid ?? 0)>0?i18.consumerReciepts.CONSUMER_PENDING_AMOUNT:i18.common.CORE_ADVANCE,
('₹' +
((item.totalDue ?? 0) - (item.totalAmountPaid ?? 0))
((item.totalDue ?? 0) - (item.totalAmountPaid ?? 0)).abs()
.toString())),
SizedBox(
height: 8,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -398,9 +398,9 @@ class CollectPaymentProvider with ChangeNotifier {
.toString()) +
' only')),
getPrinterLabel(
i18.consumerReciepts.CONSUMER_PENDING_AMOUNT,
(item.totalDue ?? 0) - (item.totalAmountPaid ?? 0)>0?i18.consumerReciepts.CONSUMER_PENDING_AMOUNT:i18.common.CORE_ADVANCE,
('₹' +
((item.totalDue ?? 0) - (item.totalAmountPaid ?? 0))
((item.totalDue ?? 0) - (item.totalAmountPaid ?? 0)).abs()
.toString())),
SizedBox(
height: 8,
Expand Down

0 comments on commit 9a146c6

Please sign in to comment.