Hide Workflow State in print format, if Print Hide is checked
This commit is contained in:
parent
273ebb9039
commit
8d70554a65
1 changed files with 1 additions and 1 deletions
|
|
@ -462,7 +462,7 @@ $.extend(_p, {
|
|||
var h2 = $a(me.layout.cur_row.header, 'div', '', h2_style);
|
||||
h2.innerHTML = docname;
|
||||
|
||||
if(cur_frm.state_fieldname) {
|
||||
if(cur_frm.state_fieldname && !cur_frm.fields_dict[cur_frm.state_fieldname].print_hide) {
|
||||
$a(h2, 'br');
|
||||
var span = $a(h2, 'span', '',
|
||||
{padding: "3px", color: "#fff", backgroundColor: "#777",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue