mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 12:06:44 +00:00
Add some optional upload fields
(These will come in handy later)
This commit is contained in:
parent
cfbfc6e258
commit
ad27d912e1
@ -51,8 +51,14 @@ class BomUploadManager:
|
|||||||
'Quantity'
|
'Quantity'
|
||||||
]
|
]
|
||||||
|
|
||||||
|
# Fields which would be helpful but are not required
|
||||||
OPTIONAL_HEADERS = [
|
OPTIONAL_HEADERS = [
|
||||||
'Reference',
|
'Reference',
|
||||||
|
'Description',
|
||||||
|
'Category',
|
||||||
|
'Supplier',
|
||||||
|
'Manufacturer',
|
||||||
|
'MPN',
|
||||||
'Overage',
|
'Overage',
|
||||||
'Notes'
|
'Notes'
|
||||||
]
|
]
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
<input type='hidden' name='col_name_{{ forloop.counter0 }}' value='{{ col.name }}'/>
|
<input type='hidden' name='col_name_{{ forloop.counter0 }}' value='{{ col.name }}'/>
|
||||||
{{ col.name }}
|
{{ col.name }}
|
||||||
<button class='btn btn-default btn-remove' id='del_col_{{ forloop.counter0 }}' title='Remove column'>
|
<button class='btn btn-default btn-remove' id='del_col_{{ forloop.counter0 }}' title='Remove column'>
|
||||||
<span col='col_{{ forloop.counter0 }}' onClick='removeColFromBomWizard()' class='glyphicon glyphicon-small glyphicon-remove'></span>
|
<span col_id='{{ forloop.counter0 }}' onClick='removeColFromBomWizard()' class='glyphicon glyphicon-small glyphicon-remove'></span>
|
||||||
</button>
|
</button>
|
||||||
<select class='select' id='id_col_{{ forloop.counter0 }}' name='col_select_{{ forloop.counter0 }}'>
|
<select class='select' id='id_col_{{ forloop.counter0 }}' name='col_select_{{ forloop.counter0 }}'>
|
||||||
<option value=''>---------</option>
|
<option value=''>---------</option>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user