mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Display UUID and QR code on stockitem page
- The actual display of this can be improved upon at a later stage
This commit is contained in:
parent
b64e584b52
commit
7b68bac32f
@ -2,6 +2,8 @@
|
||||
{% load static %}
|
||||
{% block content %}
|
||||
|
||||
{% load qr_code %}
|
||||
|
||||
<div class='row'>
|
||||
<div class='col-sm-6'>
|
||||
<h3>Stock Item Details</h3>
|
||||
@ -29,11 +31,17 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% qr_from_text item.uuid size="s" image_format="png" error_correction="L" %}
|
||||
|
||||
<table class="table table-striped">
|
||||
<tr>
|
||||
<td>Part</td>
|
||||
<td><a href="{% url 'part-stock' item.part.id %}">{{ item.part.name }}</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>UUID</td>
|
||||
<td>{{ item.uuid }}</td>
|
||||
</tr>
|
||||
{% if item.belongs_to %}
|
||||
<tr>
|
||||
<td>Belongs To</td>
|
||||
|
Loading…
Reference in New Issue
Block a user