summaryrefslogtreecommitdiffstats
path: root/templates/products/newprice.html
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2012-11-04 09:39:08 +0100
committerSebastian Reichel <sre@ring0.de>2012-11-04 09:39:08 +0100
commit25f1132d4f004211adf39e3f373ec0498c0d0fc7 (patch)
treead1b4e1c34abb59393325aed4ec952aabf26f16f /templates/products/newprice.html
parent5be3749d4690220b7b12acde68e4de984dd8ebdf (diff)
downloadserial-barcode-scanner-25f1132d4f004211adf39e3f373ec0498c0d0fc7.tar.bz2
Web: add option for adding new selling price info
Diffstat (limited to 'templates/products/newprice.html')
-rw-r--r--templates/products/newprice.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/products/newprice.html b/templates/products/newprice.html
new file mode 100644
index 0000000..c46d439
--- /dev/null
+++ b/templates/products/newprice.html
@@ -0,0 +1,18 @@
+<h2>Restock: {{{NAME}}}</h2>
+
+<div id="newprice-successful" class="alert alert-success" style="display: {{{NEWPRICE.OK}}};">
+ Successfully added new prices to <b>{{{NAME}}}</b>. New prices valid from now on:
+ <ul>
+ <li>Member: {{{MEMBER}}}€</li>
+ <li>Guest: {{{GUEST}}}€</li>
+ </ul>
+</div>
+
+<div id="newprice-failed" class="alert alert-error" style="display: {{{NEWPRICE.FAIL}}};">
+ <h4>Error</h4>
+ Adding new price for <b>{{{NAME}}}</b> failed. Please make sure you
+ have sufficient permissions and gave valid prices for members and
+ guests.
+</div>
+
+<a href=".">Back to {{{NAME}}}</a>