{% extends 'template.html.twig' %} {% block title %}Tour Claim List - {{ parent() }}{% endblock %} {% block body %}

Tour Claim

{% for message in app.flashes('notice') %}
× {{ message }}
{% endfor %} {% for message in app.flashes('warning') %}
× {{ message }}
{% endfor %}
{{ render(controller( 'App\\Controller\\TourClaimController::searchBar' )) }}
{% 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 %}
# Submition Date Starting Date Ending Date Tour Details Functional
Head
Department
Head
CEO Actions
{{ counter }} {{ tour_claim.submitionDate ? tour_claim.submitionDate|date('d-m-Y') : '' }} {{ tour_claim.startingDate ? tour_claim.startingDate|date('d-m-Y H:i:s') : '' }} {{ tour_claim.endingDate ? tour_claim.endingDate|date('d-m-Y H:i:s') : '' }} {{ tour_claim.tourDetails|slice(0,30) }} {% if app.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 %} {% endif %} {% if tour_claim.ceoApproval == 1 %} {% endif %}
No records found
{% if tour_claims.haveToPaginate %} {% endif %}
{% endblock %} {# {% extends 'base.html.twig' %} {% block title %}TourClaim index{% endblock %} {% block body %}

TourClaim index

{% for tour_claim in tour_claims %} {% else %} {% endfor %}
Id SubmitionDate StartingDate EndingDate TourDetails actions
{{ tour_claim.id }} {{ tour_claim.submitionDate ? tour_claim.submitionDate|date('Y-m-d') : '' }} {{ tour_claim.startingDate ? tour_claim.startingDate|date('Y-m-d H:i:s') : '' }} {{ tour_claim.endingDate ? tour_claim.endingDate|date('Y-m-d H:i:s') : '' }} {{ tour_claim.tourDetails }} show edit
no records found
Create new {% endblock %} #}