{% extends 'template.html.twig' %} {% block title %}Team Member Local Expenses List - {{ parent() }}{% endblock %} {% block body %}

Team Member Local Expenses

{% for message in app.flashes('notice') %}
× {{ message }}
{% endfor %} {% for message in app.flashes('warning') %}
× {{ message }}
{% endfor %}
{{ render(controller( 'App\\Controller\\LocalExpenseController::teamSearchBar' )) }}
{% set pageUrl = app.request.requesturi|split('/') %} {% set pageNo = pageUrl|last %} {% if pageNo matches '/^\\d+$/' %} {% set counter = (pageNo-1) * 15 %} {% else %} {% set counter = 0 %} {% endif %} {% for tour_claim in tour_claims %} {% set counter = counter + 1 %} {% else %} {% endfor %}
# PIN Name Submition Date Starting Date Ending Date Functional
Head
Department
Head
CBO Actions
{{ counter }} {{ tour_claim.user.username }} {{ tour_claim.user.fullName }} {{ tour_claim.submitionDate ? tour_claim.submitionDate|date('d-m-Y') : '' }} {{ tour_claim.startingDate ? tour_claim.startingDate|date('d-m-Y') : '' }} {{ tour_claim.endingDate ? tour_claim.endingDate|date('d-m-Y') : '' }} {% if tour_claim.user.functionalHead is not null %} {% if tour_claim.fhApproval is null %}
Pending
{% elseif tour_claim.fhApproval == 1 %}
Approved
{% else %}
Not Approved
{% endif %} {% endif %}
{% if tour_claim.dhApproval is null %}
Pending
{% elseif tour_claim.dhApproval == 1 %}
Approved
{% else %}
Not Approved
{% endif %}
{% if tour_claim.ceoApproval is null %}
Pending
{% elseif tour_claim.ceoApproval == 1 %}
Approved
{% else %}
Not Approved
{% endif %}
{# {% if tour_claim.fhApproval is null %} #} {% if tour_claim.dhApproval is null %} {% endif %} {# {% endif %} #} {% if tour_claim.ceoApproval == 1 %} {% endif %}
No records found
{% if tour_claims.haveToPaginate %} {% endif %}
{% endblock %}