{% if indicator is not null %}
{% set id = indicator.id %}
Edit
Delete
{{ include('AlsuiteProjectBundle:OutputIndicator:del.html.twig',
{'id': id, 'action': 'Delete', 'object': 'Indicator',
'modal': 'inddel',
'route': path('output_ind_del', {'id': id})})
}}
Is Tracked | {{ indicator.getTrackingTypeLabel() }} |
Weight | {{ [indicator.getWeight(), '%']|join }} |
Baseline | {{ indicator.getBaseline() }} |
Target | {{ indicator.getTarget() }} |
Achieved |
{{ indicator.getLatestScore() }}{% if indicator.isTrackedQualitatively() %}%{% endif %}
|
{% if indicator.isTrackedThroughCumulativeAggregates() %}
Achieved % |
{% if indicator.target is not null or indicator.target != 0 %}
{{ ((indicator.getLatestScore()/indicator.getTarget())*100)|round|number_format(0) ~ '%' }}
{% else %}
0
{% endif %}
|
{% endif %}
Value | Date | Details | Options |
{% for prg in indicator.getProgress() %}
{% set pid = prg.getId() %}
{{ indicator.isTrackedQualitatively() ?
prg.getWeightContributed() : prg.getQtyAchieved()
}}
|
{% if prg.AchievedOn is not null %}
{{ prg.getAchievedOn()|date(date_format) }}
{% endif %}
|
{{ prg.getDetails()|raw }} |
{% if prg.getTargetIndicator() is null %}
{% if indicator.isTrackedQualitatively() %}
Edit
{% else %}
Edit
{% endif %}
Delete
{{ include('AlsuiteProjectBundle:OutputIndicatorProgress:del.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 %}
Deadline | Weight/Target |
Achieved | Details | Options |
{% for ml in indicator.getMilestones() %}
{% set mid = ml.getId() %}
{% if ml.deadline is not null %}
{{ ml.getDeadline()|date(date_format) }}
{% endif %}
|
{{ ml.getTarget() is not null ?
ml.getTarget() :
[ml.getWeight(), '%']|join
}}
|
{{ indicator.getLatestScore(ml.deadline) }} |
{{ ml.getDetail() }} |
Edit
Delete
{{ include('AlsuiteProjectBundle:Milestone:del.html.twig',
{'id': mid, 'action': 'Delete', 'object': 'Milestone',
'modal': 'mls',
'route': path('milestone_del', {'milestone': mid})})
}}
|
{% else %}
There are currently no milestones under this indicator.
|
{% endfor %}
{% else %}
Please click on an output indicator in the left panel to view its details here.
{% endif %}