2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-02 11:40:58 +00:00

Add setting for enabling / disabling test reports

This commit is contained in:
Oliver Walters
2021-02-04 21:15:19 +11:00
parent 5aec487c12
commit a0e7d37a19
10 changed files with 40 additions and 9 deletions

View File

@ -38,7 +38,9 @@
</button>
<ul class='dropdown-menu'>
<li><a href='#' id='multi-item-print-label' title='{% trans "Print labels" %}'><span class='fas fa-tags'></span> {% trans "Print labels" %}</a></li>
{% if test_report_enabled %}
<li><a href='#' id='multi-item-print-test-report' title='{% trans "Print test reports" %}'><span class='fas fa-file-pdf'></span> {% trans "Print test reports" %}</a></li>
{% endif %}
</ul>
</div>
{% if roles.stock.change or roles.stock.delete %}