{% 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() }} |
Progress Records |
Value | Date | Details | Options |
{% for prg in ind.getProgress() %}
{% set pid = prg.getId() %}
{{ 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 %}
|
{% else %}
There are no progress records currenlty.
|
{% endfor %}
{% 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 %}