{% extends "base.html" %} {% block title %}Vendor Finance Jobcard Tracker{% endblock %} {% block content %}
Finance · Jobcard Intelligence

Jobcard Finance Tracker

One view for client billing, collections, vendor exposure, vendor invoices and payments.
{% if q and not jobcard %}
No exact match for “{{ q }}”
{% if suggestions %}Did you mean one of these jobcards?{% else %}No matching jobcard was found.{% endif %}
{% if suggestions %}{% endif %}
{% endif %} {% if jobcard %}
Jobcard
{{ jobcard.jobcard_code }}
{{ jobcard.status }}

Client
{{ jobcard.client.company_name if jobcard.client else '—' }}
Client Branch
{{ jobcard.branch.branch_location if jobcard.branch else '—' }}
Client Type
{{ jobcard.client.client_type if jobcard.client and jobcard.client.client_type else '—' }}
Quote
{{ jobcard.quote.quote_code if jobcard.quote and jobcard.quote.quote_code else ('#' ~ jobcard.quote_id) }}
Client Deadline
{{ jobcard.client_deadline.strftime('%d %b %Y, %I:%M %p') if jobcard.client_deadline else '—' }}
Client Invoices
{{ client_summary.invoice_count }}
Invoice(s) linked to this jobcard
Client Invoice Value
{% if client_invoices %}{{ client_invoices[0].currency }} {% endif %}{{ indian_amount(client_summary.total|float) }}
Gross billed amount
Client Collection
{% if client_invoices %}{{ client_invoices[0].currency }} {% endif %}{{ indian_amount(client_summary.collected|float) }}
Recorded against invoice(s)
Client Outstanding
{% if client_invoices %}{{ client_invoices[0].currency }} {% endif %}{{ indian_amount(client_summary.outstanding|float) }}
Remaining customer receivable
Client Invoice Position
Invoice status and customer payment position for {{ jobcard.jobcard_code }}.
{{ client_invoices|length }} invoice(s)
{% for inv in client_invoices %} {% else %}{% endfor %}
InvoiceDate / DueInvoice StatusPayment StatusInvoice AmountCollectedOutstandingAction
{{ inv.invoice_no }}
PO: {{ inv.po_number or '—' }}
{{ inv.invoice_date.strftime('%d %b %Y') }}
Due {{ inv.due_date.strftime('%d %b %Y') if inv.due_date else '—' }}
{% if inv.is_cancelled or inv.status=='Cancelled' %}Cancelled{% else %}{{ inv.status or 'Unpaid' }}{% endif %}{% if inv.finance_payment_status=='Paid' %}Paid{% elif inv.finance_payment_status=='Partially Paid' %}Partially Paid{% else %}{{ inv.finance_payment_status }}{% endif %}{{ inv.currency }} {{ indian_amount(inv.total_amount|float) }}{{ inv.currency }} {{ indian_amount(inv.finance_collected|float) }}{{ inv.currency }} {{ indian_amount(inv.finance_remaining|float) }}Open
No client invoice linked yet
The jobcard has not reached customer invoicing, or no invoice record is linked.
Vendor Exposure
Vendors associated with this jobcard
{{ vendor_rows|length }} vendor(s)
{% for row in vendor_rows %}
{{ row.vendor.name if row.vendor else 'Unknown Vendor' }}
{{ row.vendor.external_translator_id if row.vendor else '' }} · {{ row.services|join(', ') }}
{% if row.all_paid %}Paid{% elif row.all_invoiced %}Invoiced{% elif row.any_invoiced %}Partially Invoiced{% else %}Not Invoiced{% endif %}
Assignments
{{ row.assignments|length }}
Assigned Value
{{ indian_amount(row.assigned_amount|float) }}
Vendor Invoice & Payment
{% if row.vendor_invoices %}
{% for vinv in row.vendor_invoices %}
{{ vinv.vendor_invoice_no }}
{{ vinv.invoice_date.strftime('%d %b %Y') }} · {{ vinv.currency }} {{ indian_amount(vinv.total_amount|float) }}
{% if vinv.payment_status=='Paid' %}Paid{% elif vinv.payment_status=='Scheduled' %}Scheduled{% elif vinv.payment_status=='Partially Paid' %}Partially Paid{% elif vinv.payment_status=='On Hold' or vinv.payment_status=='Rejected' %}{{ vinv.payment_status }}{% else %}{{ vinv.payment_status or 'Pending' }}{% endif %}
Invoice: {{ vinv.status or 'RAISED' }}
{% endfor %}
{% else %}
No vendor invoice has been raised for this vendor's assignment(s).
{% endif %}
Assignment Details
{% for x in row.assignments %}
{{ x.service_name }} · Assignment #{{ x.assignment.id }} · {{ x.assignment.status }}{{ indian_amount(x.amount|float) }}{% if x.vendor_invoice %} · Invoiced{% else %} · Not invoiced{% endif %}
{% endfor %}
{% else %}
No external vendors associated
This jobcard currently has no vendor assignments.
{% endfor %}
{% elif not q %}
Search a jobcard to begin
Finance can see the entire client-to-vendor billing and payment chain from one screen.
{% endif %}
{% endblock %}