% for item in report.order.get_items(): % endfor % if report.order.discount_value: % endif
${ _("Code") } ${ _("Item") } ${ _("Quantity") } ${ _("Price") } ${ _("Sub-Total") }
${ item.sellable.code } ${ item.sellable.get_description() } ${ item.get_quantity_unit_string() } ${ format_price(item.price) } ${ format_price(item.get_total()) }
${ report.order.get_items_total_quantity() } ${ _('Subtotal:') } ${ format_price(report.order.get_sale_subtotal()) }
${ _('Discount:') } ${ format_price(report.order.discount_value) }
${ _('Total:') } ${ format_price(report.order.get_total_sale_amount()) }