mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 11:09:17 +00:00
refactor: order by posting date
This commit is contained in:
@@ -369,7 +369,7 @@ class ReceivablePayableReport:
|
|||||||
sum(paid_in_account_currency) `paid_in_account_currency`,
|
sum(paid_in_account_currency) `paid_in_account_currency`,
|
||||||
sum(credit_note_in_account_currency) `credit_note_in_account_currency`,
|
sum(credit_note_in_account_currency) `credit_note_in_account_currency`,
|
||||||
sum(invoiced_in_account_currency) - sum(paid_in_account_currency) - sum(credit_note_in_account_currency) `outstanding_in_account_currency`
|
sum(invoiced_in_account_currency) - sum(paid_in_account_currency) - sum(credit_note_in_account_currency) `outstanding_in_account_currency`
|
||||||
from `{self.proc._voucher_balance_name}` group by name;""",
|
from `{self.proc._voucher_balance_name}` group by name order by posting_date;""",
|
||||||
as_dict=True,
|
as_dict=True,
|
||||||
)
|
)
|
||||||
for x in res:
|
for x in res:
|
||||||
|
|||||||
Reference in New Issue
Block a user