mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 18:59:08 +00:00
hide master_name if not master_type
This commit is contained in:
@@ -48,7 +48,7 @@ cur_frm.cscript.refresh = function(doc, cdt, cdn) {
|
|||||||
} else {
|
} else {
|
||||||
// credit days and type if customer or supplier
|
// credit days and type if customer or supplier
|
||||||
cur_frm.set_intro(null);
|
cur_frm.set_intro(null);
|
||||||
cur_frm.toggle_display(['credit_days', 'credit_limit'],
|
cur_frm.toggle_display(['credit_days', 'credit_limit', 'master_name'],
|
||||||
in_list(['Customer', 'Supplier'], doc.master_type));
|
in_list(['Customer', 'Supplier'], doc.master_type));
|
||||||
|
|
||||||
// hide tax_rate
|
// hide tax_rate
|
||||||
|
|||||||
Reference in New Issue
Block a user