{#- ERPNext's templates/print_formats/includes/taxes.html, but a discount on Net Total is followed by the Net Total line so the print reads Total, discount, Net Total, charges. A discount on Grand Total stays after the charges, as upstream. -#} {%- macro amount_row(label, value) -%}