mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 18:59:08 +00:00
Update journal_entry.js
This commit is contained in:
@@ -138,7 +138,7 @@ cur_frm.script_manager.make(erpnext.accounts.JournalVoucher);
|
|||||||
cur_frm.cscript.refresh = function(doc) {
|
cur_frm.cscript.refresh = function(doc) {
|
||||||
cur_frm.cscript.is_opening(doc)
|
cur_frm.cscript.is_opening(doc)
|
||||||
erpnext.toggle_naming_series();
|
erpnext.toggle_naming_series();
|
||||||
cur_frm.cscript.voucher_type();
|
cur_frm.cscript.voucher_type(doc);
|
||||||
|
|
||||||
if(doc.docstatus==1) {
|
if(doc.docstatus==1) {
|
||||||
cur_frm.add_custom_button(__('View Ledger'), function() {
|
cur_frm.add_custom_button(__('View Ledger'), function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user