mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-18 13:05:42 +00:00
Small fixes
- Hide some tabs that aren't functional yet - Hide fields instead of marking them as disabled - Default behaviour is to allow all hosts
This commit is contained in:
@ -6,13 +6,17 @@
|
||||
<li{% if tab == 'parts' %} class='active'{% endif %}>
|
||||
<a href="{% url 'company-detail-parts' company.id %}">Supplier Parts <span class='badge'>{{ company.part_count }}</span></a>
|
||||
</li>
|
||||
{% if 0 %}
|
||||
<li{% if tab == 'po' %} class='active'{% endif %}>
|
||||
<a href="#">Purchase Orders</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% if company.is_customer %}
|
||||
{% if 0 %}
|
||||
<li{% if tab == 'co' %} class='active'{% endif %}>
|
||||
<a href="#">Sales Orders</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
</ul>
|
Reference in New Issue
Block a user