[fix] [minor] check print hide properties in purchase standard print format
This commit is contained in:
parent
1d35c444b6
commit
784a95cf1a
@ -28,6 +28,11 @@ cur_frm.pformat.purchase_tax_details= function(doc){
|
|||||||
return new_val;
|
return new_val;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function print_hide(fieldname) {
|
||||||
|
var doc_field = wn.meta.get_docfield(doc.doctype, fieldname, doc.name);
|
||||||
|
return doc_field.print_hide;
|
||||||
|
}
|
||||||
|
|
||||||
var cl = getchildren('Purchase Taxes and Charges',doc.name,'purchase_tax_details');
|
var cl = getchildren('Purchase Taxes and Charges',doc.name,'purchase_tax_details');
|
||||||
|
|
||||||
// outer table
|
// outer table
|
||||||
|
Loading…
x
Reference in New Issue
Block a user