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

Tour Claim

{% for message in app.flashes('notice') %}
× {{ message }}
{% endfor %}
Details
Submition Date : {{ tour_claim.submitionDate ? tour_claim.submitionDate|date('d-m-Y') : '' }}
Actual tour starting date & time : {{ tour_claim.startingDate ? tour_claim.startingDate|date('d-m-Y H:i:s') : '' }}
Actual tour ending date & time : {{ tour_claim.endingDate ? tour_claim.endingDate|date('d-m-Y H:i:s') : '' }}
Tour Details : {{ tour_claim.tourDetails }}
Expenses Details
{% set totalAmount = 0 %} {% for tourClaimDetail in tour_claim.tourClaimDetails %} {% set counter = ( counter | default(0) ) + 1 %} {% set totalAmount = ( totalAmount | default(0) ) + tourClaimDetail.amount %} {% else %} {% endfor %}
# Category From / Place of Stay From Date & Time To / Place of Stay To Date & Time Mode of Transportation Amount Currency Amount Remarks
{{ counter }} {{ tourClaimDetail.category }} {{ tourClaimDetail.fromPlace }} {{ tourClaimDetail.startingDate ? tourClaimDetail.startingDate|date('d-m-Y H:i:s') : '' }} {{ tourClaimDetail.toPlace }} {{ tourClaimDetail.endingDate ? tourClaimDetail.endingDate|date('d-m-Y H:i:s') : '' }} {{ tourClaimDetail.travelMode }} {{ tourClaimDetail.amountCurrency }} {{ tourClaimDetail.amount|number_format(2, '.', ',') }} {{ tourClaimDetail.remarks }}
No records found
Total Amount: {{ totalAmount|number_format(2, '.', ',') }}
{% endblock %}