{% extends "base.html" %} {% block content %}

Bulk Jobcard Payment Update

Select client, enter one common payment reference, and allocate amount against multiple jobcards.
{% if selected_client_id %}
Payment Details
Pending Jobcards / Invoices {{ invoices|length }} Pending
{% for inv in invoices %} {% set collected = inv.collected_amount() %} {% set remaining = inv.remaining_amount() %} {% else %} {% endfor %}
Jobcard No Invoice No Invoice Date Invoice Amount Collected Pending Payment Amount
{{ inv.jobcard_no_display or "-" }} {{ inv.invoice_no }} {{ inv.invoice_date.strftime("%d-%m-%Y") if inv.invoice_date else "-" }} {{ indian_amount(inv.total_amount or 0) }} {{ indian_amount(collected or 0) }} {{ indian_amount(remaining or 0) }}
No pending jobcards/invoices found for this client.
{% if invoices %} {% endif %}
{% endif %}
{% endblock %}