diff --git a/InvenTree/company/templates/company/company_base.html b/InvenTree/company/templates/company/company_base.html index 4caf37272e..6bf4c929b3 100644 --- a/InvenTree/company/templates/company/company_base.html +++ b/InvenTree/company/templates/company/company_base.html @@ -23,6 +23,8 @@ {% endif %} +{% define perms.company.change_company or perms.company.delete_company as has_permission %} +{% if not company.is_deleted and has_permission %} @@ -38,6 +40,7 @@ {% endif %} +{% endif %} {% endblock actions %} {% block thumbnail %}