mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-18 12:39:18 +00:00
chore: Translate Voucher Type in General Ledger Report (#36874)
chore: Translate Voucher Type in General Ledger Report
This commit is contained in:
@@ -434,6 +434,7 @@ def get_accountwise_gle(filters, accounting_dimensions, gl_entries, gle_map):
|
|||||||
|
|
||||||
for gle in gl_entries:
|
for gle in gl_entries:
|
||||||
group_by_value = gle.get(group_by)
|
group_by_value = gle.get(group_by)
|
||||||
|
gle.voucher_type = _(gle.voucher_type)
|
||||||
|
|
||||||
if gle.posting_date < from_date or (cstr(gle.is_opening) == "Yes" and not show_opening_entries):
|
if gle.posting_date < from_date or (cstr(gle.is_opening) == "Yes" and not show_opening_entries):
|
||||||
if not group_by_voucher_consolidated:
|
if not group_by_voucher_consolidated:
|
||||||
|
|||||||
Reference in New Issue
Block a user