{% load custom_filters %}
{% load humanize %}
| No |
Vendor Code |
Vendor Name |
Invoice No |
Invoice Date |
Due Date |
Ref No |
Description |
Curr |
Payable (Ori) |
Paid (Ori) |
Balance (Ori) |
Payable (USD) |
Paid (USD) |
Balance (USD) |
{% for row in page_obj %}
|
{{ forloop.counter }}.
{{ row.invoice.invno }} -
{{ row.invoice.vendorcode.vendorname }}
({{ row.invoice.currsign.currsign }})
|
{% for p in row.payable %}
|
Payable - {{ p.refno|format_journalno }} - JV Date : {{ p.date|date:"d-m-Y" }} - {{ p.description }}
|
{{ p.currency }} |
{{ p.amount|floatformat:2|intcomma }} |
|
|
|
|
|
{% endfor %}
{% for p in row.paid %}
|
Paid - {{ p.refno|format_journalno }} - JV Date : {{ p.date|date:"d-m-Y" }} - {{ p.description }}
|
{{ p.currency }} |
|
{{ p.amount|floatformat:2|intcomma }} |
|
|
|
|
{% endfor %}
{% empty %}
|
No data found.
|
{% endfor %}
| Total IDR |
{{ total_idr|format_currency_dynamic:"IDR" }}
|
| Total USD |
{{ total_usd|format_currency_dynamic:"USD" }}
|