{% extends "base.html" %} {% block title %}Purchase Invoices{% endblock %} {% block page_title %}Purchase Invoices{% endblock %} {% block content %}
Purchase Invoice Register
New Purchase Bill
{% for invoice in invoices %} {% else %} {% endfor %}
Date Bill No Vendor Vendor Inv No Status Amount Action
{{ invoice.bill_date.strftime('%d-%m-%Y') }} {{ invoice.bill_no }} {{ invoice.vendor.vendor_name }} {{ invoice.vendor_invoice_no or '-' }} {% if invoice.status == 'draft' %} Draft {% elif invoice.status == 'reversed' %} Reversed {% elif invoice.status == 'debit_note' %} Debit Note {% else %} {{ invoice.status|title }} {% endif %} {{ '%.2f'|format(invoice.total_amount) }}
No purchase bills created yet.
{% endblock %}