{% extends "base.html" %} {% block title %}Low Margin Closure Approvals{% endblock %} {% block header %}Low Margin Closure Approvals{% endblock %} {% block content %}
| Jobcard | Requested By | Requested At | Amount Ex Tax | Vendor Cost | Profit | Margin | Status | Action |
|---|---|---|---|---|---|---|---|---|
|
{{ row.jobcard.jobcard_code if row.jobcard else '—' }}
{% if row.quote %}
Quote: {{ row.quote.quote_code }}
{% endif %}
Billing Branch:
{{ row.billing_company_branch.branch_name if row.billing_company_branch else '—' }}
|
{{ row.requested_by.name if row.requested_by else '—' }}
|
{{ row.requested_at.strftime('%d-%m-%Y') if row.requested_at else '—' }}
{{ row.requested_at.strftime('%I:%M %p') if row.requested_at else '' }}
|
{{ indian_amount(row.quote_amount_ex_tax or 0) }}
|
{{ indian_amount(row.total_vendor_costs or 0) }}
|
{% if (row.profit_amount or 0) >= 0 %}
{{ indian_amount(row.profit_amount or 0) }}
{% else %}
{{ indian_amount(row.profit_amount or 0) }}
{% endif %}
|
{{ "%.2f"|format(row.profit_margin_pct or 0) }}% |
{% if row.status == "Pending" %}
Pending
{% elif row.status == "Approved" %}
Approved
by {{ row.approved_by.name if row.approved_by else '—' }}
{% elif row.status == "Rejected" %}
Rejected
by {{ row.rejected_by.name if row.rejected_by else '—' }}
{% else %}
{{ row.status }}
{% endif %}
{% if row.approval_remark %}
{{ row.approval_remark }}
{% endif %}
|
{% if row.status == "Pending" %}
|