2
0
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:
Oliver Walters 2019-06-28 20:48:23 +10:00
parent cfbfc6e258
commit ad27d912e1
2 changed files with 7 additions and 1 deletions

View File

@ -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'
] ]

View File

@ -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>