{% extends "base.html" %} {% load i18n static %} {% block title %} Purchase Orders - {{ block.super }} {% endblock %} {% block content %}
{% if messages %} {% for message in messages %}
{{ message }}
{% endfor %} {% endif %}

{{ _("Purchase Orders") |capfirst }}

{{ _("Create New PO") }} {{ _("Create Inventory Item for PO") }}
{% include "partials/search_box.html" %}
{% if purchase_orders %} {% for po in purchase_orders %} {%endfor%} {% else%} {% endif %}
PO Number Description Status Created At Actions
{{ po.po_number }} {{ po.po_title }} {% if po.po_status == 'draft' %} {% elif po.po_status == 'in_review' %} {% elif po.po_status == 'paid' %} {% elif po.po_status == 'canceled' %} {% elif po.po_status == 'fulfilled' %} {% elif po.po_status == 'approved' %} {% endif %} {{ po.po_status|capfirst }} {{ po.created|date:"M d, Y" }}
No purchase orders found.
{% if page_obj.paginator.num_pages > 1 %}
{% include 'partials/pagination.html'%}
{% endif %}
{% include 'modal/delete_modal.html' %} {% endblock %}