Files
assetflow/src/frontend/manage/imports/csvImport.eta.html
2023-05-15 15:34:28 +02:00

25 lines
908 B
HTML

<%~ E.includeFile("../../partials/head.eta.html", {"title": "Importer - CSV" }) %> <%~ E.includeFile("../../partials/controls.eta.html", {"active": "SETT_IMPORT_CSV" }) %>
<h1>CSV Import</h1>
Upload a CSV file to import into the database. The CSV file must have the following columns:
<ul>
<li>Name</li>
<li>Amount</li>
<li>Manufacturer</li>
<li>Category</li>
</ul>
The following columns are optional:
<ul>
<li>SKU</li>
<li>Comment</li>
<li>StorageLocation (import currently not supported)</li>
</ul>
<form method="post" enctype="multipart/form-data">
<label for="formFile" class="form-label">CSV Inventory File Upload</label>
<input class="form-control" type="file" id="formFile" name="formFile" /><br />
<input type="submit" value="Run import" class="btn btn-primary" />
</form>
<%~ E.includeFile("../../partials/controlsFoot.eta.html") %> <%~ E.includeFile("../../partials/foot.eta.html") %>