{% extends "accounting/layout.html" %} {% load currency_filters bootstrap3 %} {% block content %}

Invoice Details

{{ form_title }}

{% bootstrap_form_errors form %}
{% bootstrap_field form.date_from show_label=False %}
{% bootstrap_field form.date_to show_label=False %}

{% for t in tax_rates %} {% endfor %} {% for inv in invoices %} {% for line in inv.lines.all %} {% for t in tax_rates %} {% if t.pk == line.tax_rate_id %} {% else %} {% endif %} {% endfor %} {% if not forloop.last %} {% endif %} {% endfor %} {% if payrun_settings.salaries_follow_profits %} {% endif %} {% if not forloop.last %} {% endif %} {% endfor %}
Invoice # Issue Date Status Item Unit Cost Quantity{{ t.name }}Amount
{{ inv.number }} {{ inv.date_issued }} {{ inv.status }}{{ line.label }} {{ line.unit_price.excl_tax }} {{ line.quantity }}{{ line.taxes }}-{{ line.line_price_excl_tax|currency }}
Subtotal {{ inv.total_excl_tax|currency }}
Taxes {{ inv.total_tax|currency }}
Total {{ inv.total_incl_tax|currency }}
Paid {{ inv.total_paid|currency }}
Balance {{ inv.total_due_incl_tax|currency }}
Payroll taxes {{ inv.payroll_taxes|currency }}
{% endblock content %}