{% extends 'django_ledger/layouts/content_layout_1.html' %} {% load trans from i18n %} {% load static %} {% load django_ledger %} {% block view_content %}
{% include 'django_ledger/includes/card_po.html' with po_model=po_model entity_slug=view.kwargs.entity_slug style='po-detail' %}

{{ po_model.po_title }}

{% for item in po_items %} {% endfor %}
{% trans 'Item' %} {% trans 'PO Qty' %} {% trans 'Unit Cost' %} {% trans 'Amount' %} {% trans 'Status' %} {% trans 'Billed' %}
{{ item.item_model }} {{ item.po_quantity }} {{ item.po_unit_cost }} {% currency_symbol %}{{ item.po_total_amount | currency_format }} {% if item.po_item_status %} {{ item.get_po_item_status_display }} {% endif %} {% if item.bill_model_id %} View Bill{% endif %}
{% trans 'Total PO Amount' %} {% currency_symbol %}{{ po_total_amount | currency_format }}
{% include 'django_ledger/includes/card_markdown.html' with style='card_1' title='PO Notes' notes_html=po_model.notes_html %}
{% endblock %}