fix: remarks field in payment reconciliation

This commit is contained in:
Ahmed Shareef
2024-10-29 11:07:58 +04:00
parent adba1168c1
commit 2d5b079949
4 changed files with 12 additions and 9 deletions

View File

@@ -1997,6 +1997,7 @@ class QueryPaymentLedger:
ple.cost_center.as_("cost_center"),
Sum(ple.amount).as_("amount"),
Sum(ple.amount_in_account_currency).as_("amount_in_account_currency"),
ple.remarks,
)
.where(ple.delinked == 0)
.where(Criterion.all(filter_on_voucher_no))
@@ -2059,6 +2060,7 @@ class QueryPaymentLedger:
Table("vouchers").due_date,
Table("vouchers").currency,
Table("vouchers").cost_center.as_("cost_center"),
Table("vouchers").remarks,
)
.where(Criterion.all(filter_on_outstanding_amount))
)