{% set AP = constant('\\Alsuite\\ProjectBundle\\Entity\\ApprovalLevel::AP') %} {% set REQN = constant('\\Alsuite\\ProjectBundle\\Entity\\ApprovalLevel::REQN') %} {% set FR = constant('\\Alsuite\\ProjectBundle\\Entity\\ApprovalLevel::FR') %} {% set hasItems = false %}
{% for rLine in pagination %} {% set hasItems = true %} {% set rid = rLine.getId() %} {% set tactic = rLine.getTactic() %} {% set id = tactic.getId() %}
{{ tactic.getSerial() }}
{{ rLine.getItem() }}
{{ tactic.getTarget().getWorkPlan().getOrganizationCurrency() }} {{ rLine.getAmount()|number_format(2,'.',',') }} {{ tactic.getCreator().getFullname() }} {{ tactic.getFundsReleasedOn()|date(datetime_format, app.user.timezone) }}
{# Tactic REQN Lines Attachments [{{ tactic.numOfDocuments() }}] Comments [{{ tactic.numOfComments() }}] #} {{ include(tactic_details, {'id': rid, 'tactic': tactic, 'AP': AP, 'REQN': REQN, 'FR': FR}, with_context = false) }} {{ include(reqn_lines, {'id': rid, 'tactic': tactic, 'del': 0}, with_context = false) }} {{ include(tactic_documents, {'id': rid, 'tactic': tactic, 'mng_upload': 0}, with_context = false) }} {{ include(tactic_comments, {'id': rid, 'tactic': tactic, 'level': null, 'mng_comments': 0}, with_context = false) }}
{% endfor %}
{% if not hasItems %}
There are no tactics in this section currently.
{% endif %}
{{ knp_pagination_render(pagination) }}