{% if tactic is not null %}
{% set id = tactic.id %}
{% for doc in tactic.documents if doc.isAReceipt() %}
{% set filepath = app.request.schemeAndHttpHost ~ '/uploads/' ~ doc.path %}
{% set did = doc.id %}
{{ doc.title }}
View
Download
{# Status | {{ doc.getStatusLabel() }} |
#}
Total Amount | {{ currency ~ ' ' ~ doc.getTotalAccFor()|number_format(2) }} |
Uploaded On | {{ doc.uploadedOn|date(date_format) }} |
Uploaded By | {{ doc.uploader }} |
Document Requisition Lines
Item | Amount ({{ currency }}) |
{% for line in doc.reqnLines %}
{{ line.requisitionLine.getItemDetails() }} |
{{ line.amount|number_format(2) }} |
{% endfor %}
{% endfor %}
{% else %}
Please click on an activity in the left panel to view its details here.
{% endif %}