Fix translate accounts/page/general_ledger/general_ledger.js
This commit is contained in:
parent
ac0e261eee
commit
32af5cd62e
@ -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]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user