summaryrefslogtreecommitdiffstats
path: root/data/templates/cashbox/add.html
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/cashbox/add.html')
-rw-r--r--data/templates/cashbox/add.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/data/templates/cashbox/add.html b/data/templates/cashbox/add.html
new file mode 100644
index 0000000..6e26f00
--- /dev/null
+++ b/data/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>