2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-14 23:51:08 +00:00

Upload the selected BOM file

This commit is contained in:
Oliver Walters
2019-07-02 19:07:59 +10:00
parent 802255c62d
commit 4008a9fb45
4 changed files with 11 additions and 44 deletions

View File

@@ -1,25 +0,0 @@
{% extends "modal_form.html" %}
{% block pre_form_content %}
<h4>Step 1 of 3 - Select BOM File</h4>
{{ block.super }}
<p>Select a BOM file to upload for:<br>
<b>{{ part.name }} - <i>{{ part.description }}</i></b>
</p>
<p>The BOM file must contain the required named columns as provided in the <a href="/part/bom_template/">BOM Upload Template</a></a></p>
<b>Notes:</b>
<ul>
<li>Supported file formats: <i>.csv, .tsv, .xls, .xlsx</li>
<li>Maximum of 1000 lines per BOM</li>
</ul>
{% endblock %}
{% block form_data %}
<input type='hidden' name='form_step' value='select_file'/>
{% endblock %}

View File

@@ -8,7 +8,9 @@
<h4>Upload Bill of Materials</h4>
<hr>
<p>The BOM file must contain the required named columns as provided in the <a href="/part/bom_template/">BOM Upload Template</a></a></p>
<div class='alert alert-info alert-block'>
<p>The BOM file must contain the required named columns as provided in the <a href="/part/bom_template/">BOM Upload Template</a></a></p>
</div>
<form method="post" action='' class='js-modal-form' enctype="multipart/form-data">
{% csrf_token %}