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

Commit

Permalink
ISTE-229
Browse files Browse the repository at this point in the history
  • Loading branch information
Saloni-eGov committed Aug 9, 2024
1 parent cd25f8e commit b57214c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ private void addPaymentToLedger(List<Map<String, Object>> monthlyRecordList) {
paymentLedgerReport.setCollectionDate(transactionDateLong);
paymentLedgerReport.setReceiptNo(payment.getPaymentDetails().get(0).getReceiptNumber());
paymentLedgerReport.setPaid(payment.getTotalAmountPaid());
BigDecimal totalDueAmount=ledgerReport.getDemand().getTotal_due_amount();
BigDecimal totalDueAmount=payment.getTotalDue();
if(totalDueAmount.equals(BigDecimal.ZERO))
{
paymentLedgerReport.setBalanceLeft(payment.getTotalDue().subtract(paymentLedgerReport.getPaid()));
Expand Down

0 comments on commit b57214c

Please sign in to comment.