{% extends 'base.html' %} {% load vmo_tags %} {% block midpart %}
Consultants Summary TimeSheet | Hiring Manager | Group | Joining Date | PO Validity | Current Experience | Experience In WD | {{ current_month_year }} (Current Month) | {{ last_month_year }} (Last Month) |
---|---|---|---|---|---|---|---|---|
{{contractor.name}} | {{ contractor.hiring_manager }} | {{ contractor.group }} | {{ contractor.joining_date|date:'d M Y' }} | {{contractor.po.validity}} Months | {{contractor.current_experience}} | {{contractor.wd_experience}} Years |
{% with contractor.id|get_total_hours:filter_current_month as total_hours %}
{% if total_hours %}
{{ total_hours }}
?
{% if current_month|show_approve_tag:current_year %}
{% with contractor.id|get_timesheet_approval_status:filter_current_month as tag %} {% if tag == 'NA'%} {% elif tag %} Approved on {{ contractor.id|get_approved_date:filter_current_month|date:'d M Y H:m' }} {% else %} 👍 {% endif %} {% endwith %} {% endif %} {% else %} NA {% endif %} {% endwith %} |
{% with contractor.id|get_total_hours:filter_last_month as total_hours %}
{% if total_hours %}
{{ total_hours }}
?
{% with contractor.id|get_timesheet_approval_status:filter_last_month as tag %} {% if tag == 'NA' %} {% elif tag %} Approved on {{ contractor.id|get_approved_date:filter_last_month|date:'d M Y H:i' }} {% else %} 👍 {% endif %} {% endwith %} {% else %} NA {% endif %} {% endwith %} |