{% extends 'base.html' %} {% block midpart %}
Name | Start Date | End Date | Approved Status | Comments | |
---|---|---|---|---|---|
{{ leave.contractor.name }} | {{ leave.start_date|date:'d-M-Y' }} | {{ leave.end_date|date:'d-M-Y' }} | {% if approve_status_edit_tag %}{% else %} | {% if leave.approve_status == 1 %} Pending {% elif leave.approve_status == 2 %} Approved {% else %} Not Approved {% endif %} | {% endif %}{{ leave.comments }} |