{% extends "base.html" %} {% block content %}
| Request No | Invoice | Client | Amount | Status | Requested By | Date | Action |
|---|---|---|---|---|---|---|---|
| {{ r.request_no }} | {{ r.invoice.invoice_no }} | {{ r.invoice.client.company_name if r.invoice.client else '-' }} | ₹ {{ indian_amount(r.requested_amount|float) }} | {{ r.status }} | {{ r.requested_by.name }} | {{ r.created_at.strftime('%d-%m-%Y %H:%M') }} | {% if r.status == "Pending" %} {% elif r.status == "Approved" %} {% if current_user.has_perm("credit_notes.generate") %} {% else %} No permission {% endif %} {% elif r.status == "Generated" %} View Credit Note {% else %} No action {% endif %} |