{% load i18n simpelcore_tags %}
{% regroup object.items.all by group_verbose as group_list %} {% for group in group_list %} {% if show_group %} {% endif %} {% for item in group.list %} {% endfor %} {% endfor %}
{% trans "#" %} {% trans "Item" %} {% trans "Price" %} {% trans "Quantity" %} {% trans "Total" %}
{{ group.grouper }}
{{ item.inner_id }} {{ item.product.name }} {{ item.subtotal|currency }} {{ item.quantity }} {{ item.product.unit }} {{ item.total|currency }}
Terbilang:

{{ object.grand_total|number_to_text|title }}{% if object.grand_total > 0 %} Rupiah{% endif %}

{% trans "Total" %} {{ object.total|currency }}
{% trans "Discount" %} {{ object.discount|currency }}
{% trans "Down Payment" %} {{ object.downpayment|currency }}
{% trans "Grand Total" %} {{ object.grand_total|currency }}
{% trans "Repayment" %} {{ object.repayment|currency }}
{% trans "Paid" %} {{ object.paid|currency }}
{% trans "Payable" %} {{ object.payable|currency }}
{% trans "Refund" %} {{ object.refund|currency }}