2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-01 03:00:54 +00:00

Add ReportAsset model

- Files which can be embedded into a report
This commit is contained in:
Oliver Walters
2020-05-21 14:05:25 +10:00
parent b78fe88c26
commit 70c5b27d22
5 changed files with 84 additions and 28 deletions

View File

@ -15,6 +15,8 @@ InvenTree | {% trans "Stock Item" %} - {{ item }}
{% block pre_content %}
{% include 'stock/loc_link.html' with location=item.location %}
{% include "report_template/test.html" with item=item %}
{% if item.hasRequiredTests and not item.passedAllRequiredTests %}
<div class='alert alert-block alert-danger'>
{% trans "This stock item has not passed all required tests" %}