mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Add page for detailing company purchase orders
This commit is contained in:
parent
c45d8a5782
commit
da53de844a
@ -0,0 +1,7 @@
|
||||
{% extends "company/company_base.html" %}
|
||||
{% load static %}
|
||||
{% block details %}
|
||||
|
||||
{% include 'company/tabs.html' with tab='po' %}
|
||||
|
||||
{% endblock %}
|
@ -10,7 +10,7 @@
|
||||
<a href="{% url 'company-detail-stock' company.id %}">Stock <span class='badge'>{{ company.stock_count }}</a>
|
||||
</li>
|
||||
<li{% if tab == 'po' %} class='active'{% endif %}>
|
||||
<a href="#">Purchase Orders <span class='badge'>{{ company.purchase_orders.count }}</span></a>
|
||||
<a href="{% url 'company-detail-purchase-orders' company.id %}">Purchase Orders <span class='badge'>{{ company.purchase_orders.count }}</span></a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if company.is_customer %}
|
||||
|
@ -17,6 +17,7 @@ company_detail_urls = [
|
||||
|
||||
url(r'parts/?', views.CompanyDetail.as_view(template_name='company/detail_part.html'), name='company-detail-parts'),
|
||||
url(r'stock/?', views.CompanyDetail.as_view(template_name='company/detail_stock.html'), name='company-detail-stock'),
|
||||
url(r'purchase-orders/?', views.CompanyDetail.as_view(template_name='company/detail_purchase_orders.html'), name='company-detail-purchase-orders'),
|
||||
|
||||
url(r'thumbnail/?', views.CompanyImage.as_view(), name='company-image'),
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user