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'
]
# Fields which would be helpful but are not required
OPTIONAL_HEADERS = [
'Reference',
'Description',
'Category',
'Supplier',
'Manufacturer',
'MPN',
'Overage',
'Notes'
]

View File

@ -34,7 +34,7 @@
<input type='hidden' name='col_name_{{ forloop.counter0 }}' value='{{ col.name }}'/>
{{ col.name }}
<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>
<select class='select' id='id_col_{{ forloop.counter0 }}' name='col_select_{{ forloop.counter0 }}'>
<option value=''>---------</option>