{% extends "base.html" %} {% block title %}Assigned Projects{% endblock %} {% block header %}Assigned Projects{% endblock %} {% block content %}
Projects • LMS + Crystal NExus Billing

Assigned Projects

Month-wise project summary with PMS jobcard billing and Crystal NExus invoice billing.
Total Projects
{{ summary.total_projects }}
Project Value INR
₹ {{ indian_amount(summary.total_value or 0) }}
PMS Billed Value INR
₹ {{ indian_amount(summary.billed_value or 0) }}
CN Invoice Value
₹ {{ indian_amount(summary.cn_invoice_value or 0) }}
{{ summary.cn_billed or 0 }} CN invoice(s)
Pending
{{ summary.pending }}
In Process
{{ summary.in_process }}
Completed
{{ summary.completed }}
PMS Billed Jobcards
{{ summary.billed }}
Project List
Showing PMS billing and Crystal NExus billing together.
{{ projects|length }} project(s)
{% for p in projects %} {% else %} {% endfor %}
Project Code Quotation Client Name Amount Project Status LMS Sync PMS Jobcard No PMS Status PMS Bill No PMS Bill Date CN Invoice No CN Invoice Date CN Invoice Amount Last Refresh Action
{{ p.project_code }} {{ p.quote.quote_code if p.quote else '—' }} {{ p.client.company_name if p.client else '—' }}
{{ p.name }}
{{ p.currency }} {{ indian_amount(p.amount_ex_tax_display or 0) }}
INR {{ indian_amount(p.amount_inr_display or 0) }} {% if (p.currency or "INR")|upper != "INR" %} @ {{ "%.4f"|format(p.currency_rate_display or 0) }} {% endif %}
{{ p.status or 'Active' }} {% if p.external_sync_status == 'Success' %} Synced {% elif p.external_sync_status == 'Failed' %} Failed {% else %} Pending {% endif %} {% if p.jobcard_no %} {{ p.jobcard_no }} {% else %} Not Generated {% endif %} {% if p.jobcard_status == 'Billed' %} Billed {% elif p.jobcard_status == 'Completed' %} Completed {% elif p.jobcard_status == 'In Process' %} In Process {% else %} Pending {% endif %} {% if p.pms_bill_no_display %} {{ p.pms_bill_no_display }} {% else %} — {% endif %} {% if p.jobcard_bill_date_display %} {{ p.jobcard_bill_date_display.strftime("%d-%m-%Y") }} {% else %} — {% endif %} {% if p.cn_invoice_no %} {{ p.cn_invoice_no }}
{% if p.cn_invoice_status == "Paid" %} Paid {% elif p.cn_invoice_status == "Partially Paid" %} Partially Paid {% elif p.cn_invoice_status == "Unpaid" %} Unpaid {% else %} {{ p.cn_invoice_status }} {% endif %}
{% else %} Not Billed {% endif %}
{% if p.cn_invoice_date %} {{ p.cn_invoice_date.strftime("%d-%m-%Y") }} {% else %} — {% endif %} {% if p.cn_invoice_no %}
₹ {{ indian_amount(p.cn_invoice_amount or 0) }}
{% else %} — {% endif %}
{{ p.jobcard_last_synced_at.strftime("%d-%m-%Y %H:%M") if p.jobcard_last_synced_at else '—' }}
View {% if p.external_sync_status != 'Success' %}
{% endif %}
No assigned projects found
No assigned projects found for selected month.
{% endblock %}