{% 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 %}
Back
Bulk Customer Credit Invoice
Bulk No #{{ bulk.bulk_no }}
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 }}
Areas: {% if unique_area_names %} {{ unique_area_names|join:", " }} {% else %} - {% endif %}
Order Bookers: {% if unique_booker_names %} {{ unique_booker_names|join:", " }} {% else %} - {% endif %}
{% for ln in lines %} {% empty %} {% endfor %}
# 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 }}
{% endblock %}