{% extends "base.html" %} {% load humanize %} {% block title %}{{ contractor.name }}{% endblock %} {% block page_title %}{{ contractor.name }} — {{ contractor.work_order_no }}{% endblock %} {% block content %}
Contract Amount
৳{{ contractor.contract_amount|intcomma }}
Billed
৳{{ contractor.total_billed|intcomma }}
Paid
৳{{ contractor.total_paid|intcomma }}
Remaining
৳{{ contractor.remaining_amount|intcomma }}
Running Bills
{% if user.is_accountant_role %}
{% csrf_token %}
{% endif %} {% for b in bills %} {% empty %}{% endfor %}
DateAmountDescription
{{ b.date }}৳{{ b.amount|intcomma }}{{ b.description }}
No bills recorded.
Advance / Payment
{% if user.is_accountant_role %}
{% csrf_token %}
{% endif %} {% for p in payments %} {% empty %}{% endfor %}
DateAmountType
{{ p.date }}৳{{ p.amount|intcomma }}{{ p.get_payment_type_display }}
No payments recorded.
{% endblock %}