Update journal_entry.js

This commit is contained in:
Nabin Hait 2015-04-16 16:00:37 +05:30
parent acf489c5ef
commit 2182cd5487

View File

@ -138,7 +138,7 @@ cur_frm.script_manager.make(erpnext.accounts.JournalVoucher);
cur_frm.cscript.refresh = function(doc) {
cur_frm.cscript.is_opening(doc)
erpnext.toggle_naming_series();
cur_frm.cscript.voucher_type();
cur_frm.cscript.voucher_type(doc);
if(doc.docstatus==1) {
cur_frm.add_custom_button(__('View Ledger'), function() {