{% extends "base.html" %} {% block title %}Transaction {{ transaction['id'] }} - Project Ploughshares{% endblock %} {% block content %}

Transaction #{{ transaction['id'] }} - Project Ploughshares

Edit (E) Back to List (B)
{% if transaction['approved'] %}
Approved by {{ transaction['approved_by'] }} on {{ transaction['approved_at'].strftime('%Y-%m-%d %H:%M') if transaction['approved_at'] else 'N/A' }}
{% else %}
Pending Approval
{% endif %}
{% if prev_id %} Previous (←) {% else %} {% endif %} {% if next_id %} Next (→) {% else %} {% endif %}
Transaction Type {{ transaction['transaction_type'] }}
Company/Division {{ transaction['company_division'] }}
Address {{ transaction['address_1'] }}
{% if transaction['address_2'] %}{{ transaction['address_2'] }}
{% endif %} {{ transaction['city'] }}, {{ transaction['province'] }}, {{ transaction['postal_code'] }}
{{ transaction['region'] }}
Primary {{ 'Yes' if transaction['is_primary'] else 'No' }}
Source Date {{ transaction['source_date'].strftime('%Y-%m-%d') if transaction['source_date'] else 'N/A' }}
Source Description {{ transaction['source_description'] }}
Grant Type {{ transaction['grant_type'] }}
Description {{ transaction['description'] }}
Amount {{ transaction['amount']|currency }}
Recipient {{ transaction['recipient'] }}
Commodity Class {{ transaction['commodity_class'] }}
Contract Number {{ transaction['contract_number'] }}
Comments {{ transaction['comments'] }}
{% if documents %}
{% for doc in documents %} {% endfor %}
Filename Type Description Note Upload Date Actions
{{ doc['filename'] }} {{ doc['document_type'] }} {{ doc['description'] }} {{ doc['note'] }} {{ doc['upload_date'].strftime('%Y-%m-%d %H:%M') if doc['upload_date'] else 'N/A' }} View
{% else %}
No documents attached to this transaction.
{% endif %}
{% if prev_id %} Previous (←) {% else %} {% endif %} All Transactions (B) {% if next_id %} Next (→) {% else %} {% endif %}
{% endblock %} {% block scripts %} {% endblock %}