diff --git a/erpnext/templates/print_formats/includes/item_grid.html b/erpnext/templates/print_formats/includes/item_grid.html index a166ced57ab..f9d3c1f5e8f 100644 --- a/erpnext/templates/print_formats/includes/item_grid.html +++ b/erpnext/templates/print_formats/includes/item_grid.html @@ -1,3 +1,7 @@ +{%- from "templates/print_formats/standard_macros.html" import print_value -%} +{%- set std_fields = ("item_code", "item_name", "description", "qty", "rate", "amount", "stock_uom") -%} +{%- set visible_columns = get_visible_columns(doc.get(df.fieldname), table_meta) -%} +
|
- {{ row.description }} |
+ {{ row.qty }} {{ row.stock_uom }} | {{ - format(row.rate, table_meta.get_field("rate"), doc) }} | -{{ format(row.amount, table_meta.get_field("amount"), doc) }} | + frappe.format_value(row.rate, + table_meta.get_field("rate"), doc) }} +{{ + frappe.format_value(row.amount, + table_meta.get_field("amount"), doc) }} |