{% 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 'Quantity' %} {% trans 'Unit Cost' %} {% trans 'Total Cost' %} {% trans 'Status' %} {% trans 'Billed' %}
{{ item.item_model }} {{ item.quantity }} {{ item.unit_cost }} {% currency_symbol %}{{ item.total_amount | currency_format }} {% if item.po_item_status %}{{ item.get_po_item_status_display }}{% endif %} {% if item.bill_model_id %} View Bill {% endif %}
Total PO Amount {% currency_symbol %}{{ total_amount_due | currency_format }}
{% include 'django_ledger/includes/card_markdown.html' with style='card_1' title='PO Notes' notes_html=po_model.notes_html %}
{% endblock %}