mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 15:42:52 +00:00
Print without amount in delivery note
This commit is contained in:
@@ -131,6 +131,7 @@ erpnext.stock.delivery_note.set_print_hide = function(doc, cdt, cdn){
|
|||||||
dn_item_fields['discount_percentage'].print_hide = 1;
|
dn_item_fields['discount_percentage'].print_hide = 1;
|
||||||
dn_item_fields['price_list_rate'].print_hide = 1;
|
dn_item_fields['price_list_rate'].print_hide = 1;
|
||||||
dn_item_fields['amount'].print_hide = 1;
|
dn_item_fields['amount'].print_hide = 1;
|
||||||
|
dn_fields['taxes'].print_hide = 1;
|
||||||
} else {
|
} else {
|
||||||
if (dn_fields_copy['currency'].print_hide != 1)
|
if (dn_fields_copy['currency'].print_hide != 1)
|
||||||
dn_fields['currency'].print_hide = 0;
|
dn_fields['currency'].print_hide = 0;
|
||||||
@@ -138,6 +139,8 @@ erpnext.stock.delivery_note.set_print_hide = function(doc, cdt, cdn){
|
|||||||
dn_item_fields['rate'].print_hide = 0;
|
dn_item_fields['rate'].print_hide = 0;
|
||||||
if (dn_item_fields_copy['amount'].print_hide != 1)
|
if (dn_item_fields_copy['amount'].print_hide != 1)
|
||||||
dn_item_fields['amount'].print_hide = 0;
|
dn_item_fields['amount'].print_hide = 0;
|
||||||
|
if (dn_fields_copy['taxes'].print_hide != 1)
|
||||||
|
dn_fields['taxes'].print_hide = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user