mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
Fix translate accounts/page/general_ledger/general_ledger.js
This commit is contained in:
@@ -237,7 +237,7 @@ erpnext.GeneralLedger = wn.views.GridReport.extend({
|
|||||||
closing.credit = opening.credit + totals.credit;
|
closing.credit = opening.credit + totals.credit;
|
||||||
|
|
||||||
if(me.account) {
|
if(me.account) {
|
||||||
me.appframe.set_title("General Ledger: " + me.account);
|
me.appframe.set_title(wn._("General Ledger: ") + me.account);
|
||||||
|
|
||||||
// group by ledgers
|
// group by ledgers
|
||||||
if(this.account_by_name[this.account].group_or_ledger==="Group"
|
if(this.account_by_name[this.account].group_or_ledger==="Group"
|
||||||
@@ -255,7 +255,7 @@ erpnext.GeneralLedger = wn.views.GridReport.extend({
|
|||||||
|
|
||||||
out = [opening].concat(out).concat([totals, closing]);
|
out = [opening].concat(out).concat([totals, closing]);
|
||||||
} else {
|
} else {
|
||||||
me.appframe.set_title("General Ledger");
|
me.appframe.set_title(wn._("General Ledger"));
|
||||||
out = out.concat([totals]);
|
out = out.concat([totals]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user