mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-21 15:35:16 +00:00
Display testing status for a stock item
This commit is contained in:
1 parent
02b0c0831d
commit
1cc0977816
6 files changed
+19
-9
No files matched your search
@@ -68,7 +68,7 @@ function loadStockTestResultsTable(table, options) {
|
||||
|
||||
html += makeIconButton('fa-plus icon-green', 'button-test-add', row.test_name, '{% trans "Add test result" %}');
|
||||
|
||||
if (!grouped) {
|
||||
if (!grouped && row.result != null) {
|
||||
var pk = row.pk;
|
||||
html += makeIconButton('fa-edit icon-blue', 'button-test-edit', pk, '{% trans "Edit test result" %}');
|
||||
html += makeIconButton('fa-trash-alt icon-red', 'button-test-delete', pk, '{% trans "Delete test result" %}');
|
||||
|
||||
Reference in new issue
Block a user