diff options
Diffstat (limited to 'data/templates/cashbox/selection.html')
-rw-r--r-- | data/templates/cashbox/selection.html | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/data/templates/cashbox/selection.html b/data/templates/cashbox/selection.html new file mode 100644 index 0000000..e15ee75 --- /dev/null +++ b/data/templates/cashbox/selection.html @@ -0,0 +1,17 @@ +<h1>Cashbox Account</h1> + +<script> +function onSubmit() { + d = document.getElementsByName("date")[0].value + if (d.indexOf("-") > 0) { + var split = d.split("-") + var uri = location.protocol + '//' + location.host + location.pathname + "/" + split[0] + "/" + split[1] + self.location = uri; + } +} +</script> + +<form> + <input type="month" name="date" /> + <input type="button" value="Go" onclick="onSubmit()" /> +</form> |