mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 14:39:19 +00:00
[Leave Application] [fixes] Validate Leave Approver based on a list specified in Employee
This commit is contained in:
@@ -136,10 +136,7 @@ erpnext.startup.set_periodic_updates = function() {
|
||||
|
||||
erpnext.hide_naming_series = function() {
|
||||
if(cur_frm.fields_dict.naming_series) {
|
||||
hide_field('naming_series');
|
||||
if(cur_frm.doc.__islocal) {
|
||||
unhide_field('naming_series');
|
||||
}
|
||||
cur_frm.toggle_display("naming_series", cur_frm.doc.__islocal?true:false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user