{% extends "finance/base.html" %} {% load custom_filters %} {% load humanize %} {% block content %}
| 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) | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ row.invoice.vendorcode.vendorcode }} | {{ row.invoice.vendorcode.vendorname }} | {{ row.invoice.invno }} | {{ row.invoice.invdate|date:"d-m-Y" }} | {{ row.invoice.duedate|date:"d-m-Y" }} | {{ row.invoice.refno }} | {{ row.invoice.desc }} | {{ row.invoice.currsign.currsign }} | {% if row.invoice.currsign.currsign == "USD" %}{{ row.total_payable|floatformat:2|intcomma }} | {{ row.total_paid|floatformat:2|intcomma }} | {{ row.balance|floatformat:2|intcomma }} | {% else %}{{ row.total_payable|floatformat:2|intcomma }} | {{ row.total_paid|floatformat:2|intcomma }} | {{ row.balance|floatformat:2|intcomma }} | {% endif %} | ||||||
| Payable - {{ p.refno|format_journalno }} - JV Date : {{ p.date|date:"d-m-Y" }} - {{ p.description }} | {{ p.currency }} | {% if p.currency != "USD" %}{{ p.amount|floatformat:2|intcomma }}{% endif %} | ||||||||||||||||||
| Paid - {{ p.refno|format_journalno }} - JV Date : {{ p.date|date:"d-m-Y" }} - {{ p.description }} | {{ p.currency }} | {% if p.currency != "USD" %}{{ p.amount|floatformat:2|intcomma }}{% endif %} | ||||||||||||||||||
| No data found. | ||||||||||||||||||||
| Total IDR | {{ total_idr|default:0|format_currency_dynamic:"IDR" }} |
|---|---|
| Total USD | {{ total_usd|default:0|format_currency_dynamic:"USD" }} |