{% if edit_booking == 1 %} {% else %} {% endif %} {% if edit_booking == 1 %} {% endif %} {% for reqnLine in tactic.getReqnLines() %} {% if edit_booking == 1 and reqnLine.parent is null %} {% endif %} {% endfor %}
Budget Booking
Item DetailsClient & BudgetAccount Class & SubClassBooked ByAction
{{ reqnLine.getItemDetails() }}
{{ currency }} {{ reqnLine.getTotalBudget()|number_format(2, '.', ',') }}
{% if reqnLine.numOfBookingTrails() > 0 %} Trail {{ include('AlsuiteProjectBundle:RequisitionLine:bookTrails.html.twig', {'id': id, 'reqnLine': reqnLine, 'modal': 'bookTrail'}) }} {% endif %}
{% if reqnLine.parent is null %} {% if reqnLine.getDonor() is not null %} {{ reqnLine.getDonor().getName() }}
{% endif %} {% if reqnLine.getBudget() is not null %} {% set budget = reqnLine.getBudget() %} {{ budget.getProject().getName() }}
{{ budget.getStartsOn()|date(date_format) ~ ' - ' ~ budget.getEndsOn()|date(date_format) }} {% endif %} {% else %} This is an Acc line under {{ reqnLine.parent.getItemDetails() }} {% endif %}
{% if reqnLine.parent is null %} {% if reqnLine.getCode() is not null %} {{ reqnLine.getCode() }} {% endif %} {% else %} This is an Acc line under {{ reqnLine.parent.getItemDetails() }} {% endif %} {% if reqnLine.parent is null %} {% if reqnLine.getAccountsClass() is not null %} {{ reqnLine.getAccountsClass().getName() }}
{% endif %} {% if reqnLine.getAccountsSubClass() is not null %} {{ reqnLine.getAccountsSubClass().getName() }} {% endif %} {% else %} This is an Acc line under {{ reqnLine.parent.getItemDetails() }} {% endif %}
{% if reqnLine.parent is null %} {% if reqnLine.getBookedBy() is not null %} {{ reqnLine.getBookedBy().getFullname() }} {% endif %} {% else %} This is an Acc line under {{ reqnLine.parent.getItemDetails() }} {% endif %} Edit