diff --git a/erpnext/accounts/doctype/cost_center/cost_center.js b/erpnext/accounts/doctype/cost_center/cost_center.js index c846c83150e..71239bafc17 100644 --- a/erpnext/accounts/doctype/cost_center/cost_center.js +++ b/erpnext/accounts/doctype/cost_center/cost_center.js @@ -40,8 +40,7 @@ cur_frm.cscript.refresh = function(doc, cdt, cdn) { cur_frm.toggle_enable(['group_or_ledger', 'company'], doc.__islocal); if(!doc.__islocal && doc.group_or_ledger=='Group') { - intro_txt += '

'+__('Note:')+''+ __('This Cost Center is a')+ ''+__('Group')+', '+ - __('Accounting Entries are not allowed against groups.')+'

'; + intro_txt += __('Note: This Cost Center is a Group. Cannot make accounting entries against groups.'); } cur_frm.cscript.hide_unhide_group_ledger(doc); diff --git a/erpnext/accounts/page/accounts_browser/accounts_browser.js b/erpnext/accounts/page/accounts_browser/accounts_browser.js index 68ecb2b1861..a94a9231666 100644 --- a/erpnext/accounts/page/accounts_browser/accounts_browser.js +++ b/erpnext/accounts/page/accounts_browser/accounts_browser.js @@ -31,13 +31,11 @@ pscript['onload_Accounts Browser'] = function(wrapper){ '
  • '+__('Please do NOT create Account (Ledgers) for Customers and Suppliers. They are created directly from the Customer / Supplier masters.')+'
  • '+ '
  • '+ ''+__('To create a Bank Account:')+''+ - __('Go to the appropriate group (usually Application of Funds > Current Assets > Bank Accounts)')+ - __('and create a new Account Ledger (by clicking on Add Child) of type "Bank"')+ + __('Go to the appropriate group (usually Application of Funds > Current Assets > Bank Accounts and create a new Account Ledger (by clicking on Add Child) of type "Bank"')+ '
  • '+ '
  • '+ ''+__('To create a Tax Account:')+''+ - __('Go to the appropriate group (usually Source of Funds > Current Liabilities > Taxes and Duties)')+ - __('and create a new Account Ledger (by clicking on Add Child) of type "Tax" and do mention the Tax rate.')+ + __('Go to the appropriate group (usually Source of Funds > Current Liabilities > Taxes and Duties and create a new Account Ledger (by clicking on Add Child) of type "Tax" and do mention the Tax rate.')+ '
  • '+ ''+ '

    '+__('Please setup your chart of accounts before you start Accounting Entries')+'

    ').appendTo(main); @@ -187,11 +185,9 @@ erpnext.AccountsChart = Class.extend({ title:__('New Account'), fields: [ {fieldtype:'Data', fieldname:'account_name', label:__('New Account Name'), reqd:true, - description: __("Name of new Account. Note: Please don't create accounts for Customers and Suppliers,")+ - __("they are created automatically from the Customer and Supplier master")}, + description: __("Name of new Account. Note: Please don't create accounts for Customers and Suppliers, they are created automatically from the Customer and Supplier master")}, {fieldtype:'Select', fieldname:'group_or_ledger', label:__('Group or Ledger'), - options:'Group\nLedger', description: __('Further accounts can be made under Groups,')+ - __('but entries can be made against Ledger')}, + options:'Group\nLedger', description: __('Further accounts can be made under Groups, but entries can be made against Ledger')}, {fieldtype:'Select', fieldname:'account_type', label:__('Account Type'), options: ['', 'Bank', 'Cash', 'Warehouse', 'Receivable', 'Payable', 'Equity', 'Cost of Goods Sold', 'Fixed Asset', 'Expense Account', @@ -265,8 +261,7 @@ erpnext.AccountsChart = Class.extend({ fields: [ {fieldtype:'Data', fieldname:'cost_center_name', label:__('New Cost Center Name'), reqd:true}, {fieldtype:'Select', fieldname:'group_or_ledger', label:__('Group or Ledger'), - options:'Group\nLedger', description:__('Further accounts can be made under Groups,')+ - __('but entries can be made against Ledger')}, + options:'Group\nLedger', description:__('Further accounts can be made under Groups but entries can be made against Ledger')}, {fieldtype:'Button', fieldname:'create_new', label:__('Create New') } ] }); @@ -292,4 +287,4 @@ erpnext.AccountsChart = Class.extend({ }); d.show(); } -}); \ No newline at end of file +});