{% extends "::base.html.twig" %} {% form_theme form inline_form_theme %} {% block title "List Of WorkPlan Targets" %} {% block newStyles %} {% endblock %} {% block content %} {{ include(workplan_links, {'show_search': false}, with_context = false) }} {% set bill = constant('\\Alsuite\\ProjectBundle\\Entity\\Tactic::BILL') %} {% set purchase = constant('\\Alsuite\\ProjectBundle\\Entity\\Tactic::PURCHASE') %}
List Of WorkPlan Targets
{% for target in pagination %} {% set id = target.getId() %} {% if tgt is not null %} {% set selid = tgt.getId() %} {% else %} {% set selid = 0 %} {% endif %} {{ target.getDetail() }}

{% else %} There are no targets under this workplan.
Create a Target {% endfor %}
{{ knp_pagination_render(pagination) }}
Target Details
{% if tgt is not null %} {% set id = tgt.getId() %} {{ tgt.getDetail() }}
Edit Delete View Transactions {{ include('AlsuiteProjectBundle:Target:targetDetails.html.twig', {'target': tgt, 'view_act_blocks': 1, 'spent': spent, 'committed': committed}, with_context = false) }} {{ include('AlsuiteProjectBundle:Target:del.html.twig', {'id': id, 'action': 'Delete', 'object': 'Target', 'route': path('target_del', {'id': id})}, with_context = false) }}
{% if tgt.getIndicators()|length > 0 %}
{% for ind in tgt.getIndicators() %} {% set indId = ind.getId() %} {% set outInd = ind.getOutputIndicator() %} {% set oid = outInd.getId() %}
{{ outInd.getDetails() }} Edit Delete {% if outInd.isTrackedQualitatively() %} Record Progress {% else %} Record Progress {% endif %} {{ include('AlsuiteProjectBundle:TargetIndicator:del.html.twig', {'id': id, 'action': 'Delete', 'object': 'Target Indicator', 'modal': 'inddel', 'route': path('target_ind_del', {'id': id})}) }}
Tracking Type{{ outInd.getTrackingTypeLabel() }}
Work Plan Target/Weight{{ ind.getQty() }}
Overall Target/Weight{{ outInd.getTarget() }}
Work Plan Achievement{{ ind.getLatestScore() }}
Overall Achievement{{ outInd.getLatestScore() }}
{% for prg in ind.getProgress() %} {% set pid = prg.getId() %} {% else %} {% endfor %}
Progress Records
ValueDateDetailsOptions
{{ outInd.isTrackedQualitatively() ? prg.getWeightContributed() : prg.getQtyAchieved() }} {% if prg.achievedOn is not null %} {{ prg.getAchievedOn()|date(date_format) }} {% endif %} {{ prg.getDetails()|raw }} {% if prg.getActivity() is null %} {% if outInd.isTrackedQualitatively() %} Edit {% else %} Edit {% endif %} Delete {{ include('AlsuiteProjectBundle:TargetIndicator:delprg.html.twig', {'id': pid, 'action': 'Delete', 'object': 'Progress Record', 'modal': 'indprgdel', 'route': path('ind_progress_del', {'progress': pid})}) }} {% endif %}
There are no progress records currenlty.
{% endfor %}
{% else %} There are no indicators under this target currently. {% endif %}
{% else %} Please click on a target in the left panel to view its details here. {% endif %}
{% endblock %} {% block javascripts %} {% endblock %}