fix: Multi currency payment reconciliation (#22738)
* fix: Multi currency payment reconciliation * fix: Hide currency link fields
This commit is contained in:
@@ -676,7 +676,8 @@ def get_outstanding_invoices(party_type, party, account, condition=None, filters
|
||||
invoice_list = frappe.db.sql("""
|
||||
select
|
||||
voucher_no, voucher_type, posting_date, due_date,
|
||||
ifnull(sum({dr_or_cr}), 0) as invoice_amount
|
||||
ifnull(sum({dr_or_cr}), 0) as invoice_amount,
|
||||
account_currency as currency
|
||||
from
|
||||
`tabGL Entry`
|
||||
where
|
||||
@@ -733,7 +734,8 @@ def get_outstanding_invoices(party_type, party, account, condition=None, filters
|
||||
'invoice_amount': flt(d.invoice_amount),
|
||||
'payment_amount': payment_amount,
|
||||
'outstanding_amount': outstanding_amount,
|
||||
'due_date': d.due_date
|
||||
'due_date': d.due_date,
|
||||
'currency': d.currency
|
||||
})
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user