Payments of Invoice # {{invoice.id}}

{% if messages %} {% for message in messages %} {% endfor %} {% endif %}
Details
Name {{invoice.customer.first_name}} {{invoice.customer.last_name}}
Work Site {{invoice.work_site.name}}
Email: {{invoice.customer.email}}
Phone No {{invoice.customer.phone_no}}
Address {{invoice.customer.address}}
Invoice Date {{invoice.created_at}}
Total Payment ${{invoice.total}}
Balance ${{invoice.balance}}
Payments
{% for i in payment %} {% endfor %}
# Type Card Holder Paid Amount Paid Date
{{ forloop.counter }} {{ i.type }} {% if i.card_holder_name == None %} {% else %}

{{ i.card_holder_name}}

{{ i.card_no }}

{% endif %}
${{ i.paid_amount }} {{ i.created_at|date:"SHORT_DATE_FORMAT" }}