diff options
author | Holger Cremer <HolgerCremer@gmail.com> | 2018-07-26 20:09:26 +0200 |
---|---|---|
committer | Holger Cremer <HolgerCremer@gmail.com> | 2018-07-26 20:09:26 +0200 |
commit | bb55e121576a5b5d225bfc68c5062f386cc32db9 (patch) | |
tree | 21fe043175183944fe2d9fc0a2e08012c3d195fd /templates/products/inventory.html | |
parent | 567dadcd9d8816b447591c266c9ffd5a1c290390 (diff) | |
download | serial-barcode-scanner-bb55e121576a5b5d225bfc68c5062f386cc32db9.tar.bz2 |
adds an inventory function
Diffstat (limited to 'templates/products/inventory.html')
-rw-r--r-- | templates/products/inventory.html | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/templates/products/inventory.html b/templates/products/inventory.html new file mode 100644 index 0000000..ede1aea --- /dev/null +++ b/templates/products/inventory.html @@ -0,0 +1,49 @@ +<h1>Inventory <small>Thanks that you do it! </small></h1> + +<div class="{{{SUCESS_HIDDEN}}} alert alert-success"> + <strong>Success!</strong> Every change was added. Thank you! +</div> + +<div class="alert alert-info"> + <strong>Tip!</strong> You can download an inventory PDF to collect the data offline. + <a href="/products/inventory-pdf" target="_blank" class="btn btn-primaryn">Only products with amount > 0</a> + <a href="/products/inventory-pdf?all=1" target="_blank" class="btn btn-primaryn">All products</a> +</div> + +<form action="/products/inventory" method="POST" class="form form-horizontal"> + <div class="{{{RESTOCK_HIDDEN}}} control-group"> + <label class="control-label">Select the supplier for the restock action.</label> + <div class="controls"> + <select name="supplierId"> + {{{SUPPLIERS}}} + </select> + </div> + </div> + <div class="{{{RESTOCK_HIDDEN}}} control-group"> + <label class="control-label">Select the Shop User for loss transaction.</label> + <div class="controls"> + <select name="userId"> + {{{USERS}}} + </select> + </div> + </div> + <table class="sortable table table-bordered table-striped table-condensed"> + <thead> + <tr> + <th>EAN</th> + <th>Name</th> + <th>Category</th> + <th>Expected Amount</th> + <th>Real Amount</th> + </tr> + </thead> + <tbody> + {{{DATA}}} + </tbody> + </table> + + <div class="pull-right"> + {{{ACTION}}} + </div> + +</form>
\ No newline at end of file |