mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Company index: swapped 'title' for 'pagetype' for adding company button
This commit is contained in:
parent
46b889c572
commit
9131edc43d
@ -12,7 +12,7 @@ InvenTree | {% trans "Supplier List" %}
|
||||
<h3>{{ title }}</h3>
|
||||
<hr>
|
||||
|
||||
{% if title == 'Manufacturers' and roles.purchase_order.add or title == 'Suppliers' and roles.purchase_order.add or title == 'Customers' and roles.sales_order.add %}
|
||||
{% if pagetype == 'manufacturers' and roles.purchase_order.add or pagetype == 'suppliers' and roles.purchase_order.add or pagetype == 'customers' and roles.sales_order.add %}
|
||||
<div id='button-toolbar'>
|
||||
<div class='btn-group'>
|
||||
<button type='button' class="btn btn-success" id='new-company'>{{ button_text }}</button>
|
||||
|
Loading…
Reference in New Issue
Block a user