mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-23 00:28:30 +00:00
[fix] [minor] check print hide properties in purchase standard print format
This commit is contained in:
@@ -27,6 +27,11 @@ cur_frm.pformat.purchase_tax_details= function(doc){
|
||||
var new_val = flt(val)/flt(doc.conversion_rate);
|
||||
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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user