diff --git a/InvenTree/company/templates/company/company_base.html b/InvenTree/company/templates/company/company_base.html index 4adf4adb3b..c58ea63791 100644 --- a/InvenTree/company/templates/company/company_base.html +++ b/InvenTree/company/templates/company/company_base.html @@ -18,23 +18,23 @@ {% url 'admin:company_company_change' company.pk as url %} {% include "admin_button.html" with url=url %} {% endif %} -{% if company.is_supplier and roles.purchase_order.add and not company.is_deleted %} +{% if company.is_supplier and roles.purchase_order.add %} {% endif %} {% define perms.company.change_company or perms.company.delete_company as has_permission %} -{% if not company.is_deleted and has_permission %} +{% if has_permission %}