{% extends 'django_ledger/layouts/content_layout_1.html' %} {% load i18n %} {% load static %} {% load django_ledger %} {% block view_content %}
{% include 'django_ledger/purchase_order/includes/card_po.html' with style='po-detail' po_model=po_model entity_slug=view.kwargs.entity_slug %}
{% csrf_token %} {{ form }} {% trans 'Back to PO Detail' %} {% trans 'PO List' %} {% trans 'Go To Dashboard' %}
{% if po_model.is_contract_bound %}
{% trans 'Contract' %} {{ po_model.ce_model.estimate_number }}
{% for i in ce_itemtxs_agg %} {% endfor %}
{% trans 'Item' %} {% trans 'Quantity' %} {% trans 'Avg Unit Price' %} {% trans 'Total Contracted Cost' %}
{% currency_symbol %}{{ ce_cost_estimate__sum | currency_format }}
{{ i.item_model__name }} {{ i.ce_quantity__sum }} {% currency_symbol %}{{ i.avg_unit_cost | currency_format }} {% currency_symbol %}{{ i.ce_cost_estimate__sum | currency_format }}
{% endif %}
{% po_item_formset_table po_model itemtxs_formset %}
{% endblock %}