diff --git a/frontend/mgramseva/lib/components/house_connection_and_bill/consumer_bill_payment.dart b/frontend/mgramseva/lib/components/house_connection_and_bill/consumer_bill_payment.dart index 6800b26dd..11e3be5d9 100644 --- a/frontend/mgramseva/lib/components/house_connection_and_bill/consumer_bill_payment.dart +++ b/frontend/mgramseva/lib/components/house_connection_and_bill/consumer_bill_payment.dart @@ -230,9 +230,9 @@ class ConsumerBillPaymentsState extends State { .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, diff --git a/frontend/mgramseva/lib/providers/collect_payment_provider.dart b/frontend/mgramseva/lib/providers/collect_payment_provider.dart index 2e8f00870..51d78de5d 100644 --- a/frontend/mgramseva/lib/providers/collect_payment_provider.dart +++ b/frontend/mgramseva/lib/providers/collect_payment_provider.dart @@ -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,