{% extends "pos/base.html" %} {% load static %} {% block title %}Bulk Credit Invoice #{{ bulk.bulk_no }}{% endblock %} {% block heading %}Bulk Credit Invoice #{{ bulk.bulk_no }}{% endblock %} {% block stylesheets %} {% endblock %} {% block content %}
| Bulk No | {{ bulk.bulk_no }} | Date | {{ bulk.transaction_date|date:"Y-m-d" }} |
| Operator | {% if operator_obj %}{{ operator_obj.name }}{% else %}-{% endif %} | Remarks | {{ bulk.remarks|default:"-" }} |
| Total Lines | {{ bulk.line_count }} | Total Credit | {{ total_credit }} |
| # | Cust ID | Customer | Address | Area | Booker | Previous | Credit | New Balance | Note |
|---|---|---|---|---|---|---|---|---|---|
| {{ forloop.counter }} | {{ ln.customer_id }} | {% if ln.customer_obj %}{{ ln.customer_obj.name }}{% else %}-{% endif %} | {% if ln.customer_obj %}{{ ln.customer_obj.address|default:"-" }}{% else %}-{% endif %} | {{ ln.area_name|default:"-" }} | {{ ln.booker_name|default:"-" }} | {{ ln.previous_balance_snapshot }} | {{ ln.credit_amount }} | {{ ln.new_balance_snapshot }} | {{ ln.note|default:"-" }} |
| No lines found. | |||||||||
| Total Credit | {{ total_credit }} | ||||||||