Add 'purchase orders' tab for company

This commit is contained in:
Oliver Walters 2019-06-04 22:35:34 +10:00
parent cc2e3351ff
commit c45d8a5782

View File

@ -9,12 +9,10 @@
<li{% if tab == 'stock' %} class='active'{% endif %}>
<a href="{% url 'company-detail-stock' company.id %}">Stock <span class='badge'>{{ company.stock_count }}</a>
</li>
{% if 0 %}
<li{% if tab == 'po' %} class='active'{% endif %}>
<a href="#">Purchase Orders</a>
<a href="#">Purchase Orders <span class='badge'>{{ company.purchase_orders.count }}</span></a>
</li>
{% endif %}
{% endif %}
{% if company.is_customer %}
{% if 0 %}
<li{% if tab == 'co' %} class='active'{% endif %}>