mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 20:16:44 +00:00
Edit packaging field
This commit is contained in:
parent
644583f636
commit
e8bacbe45f
@ -134,6 +134,7 @@ class CreateStockItemForm(HelperForm):
|
|||||||
'quantity',
|
'quantity',
|
||||||
'batch',
|
'batch',
|
||||||
'serial_numbers',
|
'serial_numbers',
|
||||||
|
'packaging',
|
||||||
'purchase_price',
|
'purchase_price',
|
||||||
'expiry_date',
|
'expiry_date',
|
||||||
'link',
|
'link',
|
||||||
@ -414,6 +415,7 @@ class EditStockItemForm(HelperForm):
|
|||||||
'status',
|
'status',
|
||||||
'expiry_date',
|
'expiry_date',
|
||||||
'purchase_price',
|
'purchase_price',
|
||||||
|
'packaging',
|
||||||
'link',
|
'link',
|
||||||
'delete_on_deplete',
|
'delete_on_deplete',
|
||||||
'owner',
|
'owner',
|
||||||
|
@ -283,6 +283,13 @@ InvenTree | {% trans "Stock Item" %} - {{ item }}
|
|||||||
<td>{{ item.batch }}</td>
|
<td>{{ item.batch }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if item.packaging %}
|
||||||
|
<tr>
|
||||||
|
<td><span class='fas fa-cube'></span></td>
|
||||||
|
<td>{% trans "Packaging" %}</td>
|
||||||
|
<td>{{ item.packaging }}</td>
|
||||||
|
</tr>
|
||||||
|
{% endif %}
|
||||||
{% if item.build %}
|
{% if item.build %}
|
||||||
<tr>
|
<tr>
|
||||||
<td><span class='fas fa-tools'></span></td>
|
<td><span class='fas fa-tools'></span></td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user