summaryrefslogtreecommitdiffstats
path: root/templates/cashbox/add.html
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2013-06-15 23:12:26 +0200
committerSebastian Reichel <sre@ring0.de>2013-06-15 23:12:26 +0200
commite11d76395ce0ba821f58bfb1956a56f6ffc8494b (patch)
treec01a24058b017c9f2b36d934e02f3cea5c408fde /templates/cashbox/add.html
parent8504754a40d47b69b0aa1e786f0b1db45405a3fd (diff)
downloadserial-barcode-scanner-e11d76395ce0ba821f58bfb1956a56f6ffc8494b.tar.bz2
web: add cashbox tracking
Diffstat (limited to 'templates/cashbox/add.html')
-rw-r--r--templates/cashbox/add.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/templates/cashbox/add.html b/templates/cashbox/add.html
new file mode 100644
index 0000000..6e26f00
--- /dev/null
+++ b/templates/cashbox/add.html
@@ -0,0 +1,17 @@
+<div id="add-successful" class="alert alert-success" style="display: {{{NEW.OK}}};">
+ <p>Successfully balanced cashbox:</p>
+
+ <table class="table">
+ <tr><th>Type</th><td>{{{TYPE}}}</td></tr>
+ <tr><th>Amount</th><td>{{{AMOUNT}}}</td></tr>
+ </table>
+</div>
+
+<div id="add-failed" class="alert alert-error" style="display: {{{NEW.FAIL}}};">
+ <h4>Error</h4>
+ Creating new cashbox balance entry failed. Please make
+ sure you have sufficient permissions and gave valid
+ values for type and amount.
+</div>
+
+<a href="/cashbox">Back to cashbox overview</a>