mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
(cherry picked from commit e8e64616da
)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
parent
1ba0bee1ea
commit
5f4275679d
@ -233,6 +233,7 @@
|
||||
|
||||
{% settings_value "TEST_STATION_DATA" as test_station_fields %}
|
||||
|
||||
{% if item.part.trackable %}
|
||||
loadStockTestResultsTable(
|
||||
$("#test-result-table"), {
|
||||
part: {{ item.part.id }},
|
||||
@ -248,6 +249,7 @@
|
||||
url: '{% url "api-stockitem-testreport-list" %}',
|
||||
});
|
||||
});
|
||||
{% endif %}
|
||||
|
||||
{% if user.is_staff %}
|
||||
$("#delete-test-results").click(function() {
|
||||
|
Loading…
Reference in New Issue
Block a user