{% extends "finance/base.html" %} {% load custom_filters %} {% load humanize %} {% block content %}

A/P Report

Generate PDF Export to Excel
Showing {{ page_obj.start_index }} - {{ page_obj.end_index }} of {{ page_obj.paginator.count }}
First {% if page_obj.has_previous %} Previous {% else %} {% endif %} {{ page_obj.number }} / {{ page_obj.paginator.num_pages }} {% if page_obj.has_next %} Next {% else %} {% endif %} Last Go to Page
{% if query %} {% endif %} {% if month %} {% endif %} {% if year %} {% endif %}
{% for row in page_obj %} {% if row.invoice.currsign.currsign == "USD" %} {% else %} {% endif %} {% for p in row.payable %} {% endfor %} {% for p in row.paid %} {% endfor %} {% empty %} {% endfor %}
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 }} {{ row.total_payable|floatformat:2|intcomma }} {{ row.total_paid|floatformat:2|intcomma }} {{ row.balance|floatformat:2|intcomma }} {{ row.total_payable|floatformat:2|intcomma }} {{ row.total_paid|floatformat:2|intcomma }} {{ row.balance|floatformat:2|intcomma }}
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" }}
Showing {{ page_obj.start_index }} - {{ page_obj.end_index }} of {{ page_obj.paginator.count }}
First {% if page_obj.has_previous %} Previous {% else %} {% endif %} {{ page_obj.number }} / {{ page_obj.paginator.num_pages }} {% if page_obj.has_next %} Next {% else %} {% endif %} Last Go to Page
{% if query %} {% endif %} {% if month %} {% endif %} {% if year %} {% endif %}
{% endblock %}