summaryrefslogtreecommitdiffstats
path: root/templates/products/index.html
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2015-10-28 05:16:52 +0100
committerSebastian Reichel <sre@ring0.de>2015-10-28 05:44:43 +0100
commitdbcace5e7de23a48e8686171c7a412a950acc764 (patch)
tree4fe561f643f5b405c0621123b053590305363106 /templates/products/index.html
parenta98e611b8a2e86255a5e4cf971260a1d93326b7d (diff)
downloadserial-barcode-scanner-dbcace5e7de23a48e8686171c7a412a950acc764.tar.bz2
add product category
Diffstat (limited to 'templates/products/index.html')
-rw-r--r--templates/products/index.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/products/index.html b/templates/products/index.html
index 4f9bed3..d80adbd 100644
--- a/templates/products/index.html
+++ b/templates/products/index.html
@@ -2,7 +2,7 @@
<table class="sortable table table-bordered table-striped table-condensed">
<thead>
- <tr><th>EAN</th></th><th>Name</th><th>Amount</th><th>Memberprice</th><th>Guestprice</th></tr>
+ <tr><th>EAN</th></th><th>Name</th><th>Category</th><th>Amount</th><th>Memberprice</th><th>Guestprice</th></tr>
</thead>
<tbody>
{{{DATA}}}
@@ -14,6 +14,9 @@
<legend>New Product</legend>
<input class="input-medium" name="id" type="number" min="0" placeholder="EAN" />
<input class="input-medium" name="name" type="text" placeholder="Name" />
+ <select name="category" title="Category">
+ {{{CATEGORIES}}}
+ </select>
<input class="input-medium" name="memberprice" type="number" step="0.01" min="0.01" placeholder="Memberprice" />
<input class="input-medium" name="guestprice" type="number" step="0.01" min="0.01" placeholder="Guestprice" />
<button type="submit" class="btn btn-primary"><i class="icon-plus"></i></button>