mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 11:49:10 +00:00
Fix translate Cost_center.js
This commit is contained in:
@@ -41,8 +41,8 @@ cur_frm.cscript.refresh = function(doc, cdt, cdn) {
|
|||||||
cur_frm.toggle_enable(['group_or_ledger', 'company'], doc.__islocal);
|
cur_frm.toggle_enable(['group_or_ledger', 'company'], doc.__islocal);
|
||||||
|
|
||||||
if(!doc.__islocal && doc.group_or_ledger=='Group') {
|
if(!doc.__islocal && doc.group_or_ledger=='Group') {
|
||||||
intro_txt += '<p><b>Note:</b>'+ wn._('This Cost Center is a')+ '<i>'+wn._('Group')+'</i>'+ wn._(', \
|
intro_txt += '<p><b>'+wn._('Note:')+'</b>'+ wn._('This Cost Center is a')+ '<i>'+wn._('Group')+'</i>, '+
|
||||||
Accounting Entries are not allowed against groups.')+'</p>';
|
wn._('Accounting Entries are not allowed against groups.')+'</p>';
|
||||||
}
|
}
|
||||||
|
|
||||||
cur_frm.cscript.hide_unhide_group_ledger(doc);
|
cur_frm.cscript.hide_unhide_group_ledger(doc);
|
||||||
|
|||||||
Reference in New Issue
Block a user