{% extends "pos/base.html" %} {% load humanize %} {% block title %}{{ area.area_name }} — Insurance Ledger{% endblock %} {% block stylesheets %} {% endblock %} {% block content %}
{% for m in messages %}
{{ m }}
{% endfor %}
Insurance {{ area.area_name }}
Jobs billed to this insurance company — cleared vs pending
All Companies {% if has_openpyxl %} Export Excel {% endif %}
{{ total_billed|floatformat:0|intcomma }}
Billed (Under Insurance)
{{ total_received|floatformat:0|intcomma }}
Received
{{ total_outstanding|floatformat:0|intcomma }}
Outstanding
Jobs
{% for row in job_rows %} {% with j=row.job ins=row.ins %} {% endwith %} {% empty %} {% endfor %}
Job # Date Vehicle Invoice # Parts Net Dep % Dep. Amt U/Ins % U/Ins Amt Received Outstanding Status
{{ j.job_no }} {{ j.job_date|date:"d-M-Y" }} {{ j.vehicle.reg_no }} {{ j.invoice_no|default:"—" }} {{ ins.parts_net|floatformat:0|intcomma }} {{ ins.dep_per|floatformat:1 }}% {{ ins.dep_amount|floatformat:0|intcomma }} {{ ins.under_insurance_per|floatformat:1 }}% {{ ins.under_insurance_amt|floatformat:0|intcomma }} {{ row.paid|floatformat:0|intcomma }} {{ row.outstanding|floatformat:0|intcomma }} {% if row.status == "Cleared" %} Cleared {% elif row.status == "Partial" %} Partial {% else %} Pending {% endif %}
No invoiced insurance jobs for this company yet.
{% endblock %}