{% extends "app/website/templates/html/page.html" %} {% set title=doc.name %} {% block content %}

{{ doc.name }}


{%- if doc.status -%}
{{ doc.status }}
{{ utils.formatdate(doc.transaction_date) }}

{%- for row in doclist.get({"doctype":"Sales Order Item"}) %} {% endfor -%}
Sr Item Name Description Qty UoM Basic Rate Amount
{{ row.idx }} {{ row.item_name }} {{ row.description }} {{ row.qty }} {{ row.stock_uom }} {{ utils.fmt_money(row.export_rate, currency=doc.currency) }} {{ utils.fmt_money(row.export_amount, currency=doc.currency) }}
{%- for charge in doclist.get({"doctype":"Sales Taxes and Charges"}) -%} {%- if not charge.included_in_print_rate -%} {%- endif -%} {%- endfor -%}
Net Total {{ utils.fmt_money(doc.net_total/doc.conversion_rate, currency=doc.currency) }}
{{ charge.description }} {{ utils.fmt_money(charge.tax_amount / doc.conversion_rate, currency=doc.currency) }}
Grand Total {{ utils.fmt_money(doc.grand_total_export, currency=doc.currency) }}
Rounded Total {{ utils.fmt_money(doc.rounded_total_export, currency=doc.currency) }}
{%- endif -%}
{% endblock %}