From ed85df4b90236d97d5df6c25bb4d0f46f7e9e3f1 Mon Sep 17 00:00:00 2001
From: Kilian Saffran
Date: Mon, 25 Feb 2019 21:27:41 +0100
Subject: [PATCH] adminview settings and printtemplates
---
admin.html | 2 +-
cashbox.html | 69 ++++++++
css/app.css | 8 +
index.html | 50 ++----
js/app.js | 44 -----
js/mainapp.js | 58 +++++++
main.js | 2 +-
modules/clients/index.js | 4 +-
modules/products/index.js | 2 +-
modules/settings/db/cashbox.sql | 119 ++++++++++++++
modules/settings/form_datastore.html | 194 +++++++++++++++++++++++
modules/settings/form_datastore.js | 14 ++
modules/settings/form_printtemplate.html | 65 ++++++++
modules/settings/form_printtemplate.js | 4 +
modules/settings/index.html | 56 +++++++
modules/settings/index.js | 71 +++++++++
modules/settings/lib/datastore.js | 46 ++++++
modules/settings/lib/printtemplate.js | 14 ++
modules/stations/index.html | 2 +-
modules/stations/index.js | 4 +-
modules/tables/index.html | 2 +-
modules/tables/index.js | 4 +-
modules/transactions/index.html | 2 +-
modules/transactions/index.js | 4 +-
renderer.js | 49 +++---
25 files changed, 773 insertions(+), 116 deletions(-)
delete mode 100644 js/app.js
create mode 100644 js/mainapp.js
create mode 100644 modules/settings/db/cashbox.sql
create mode 100644 modules/settings/form_datastore.html
create mode 100644 modules/settings/form_datastore.js
create mode 100644 modules/settings/form_printtemplate.html
create mode 100644 modules/settings/form_printtemplate.js
create mode 100644 modules/settings/index.html
create mode 100644 modules/settings/index.js
create mode 100644 modules/settings/lib/datastore.js
create mode 100644 modules/settings/lib/printtemplate.js
diff --git a/admin.html b/admin.html
index be926a1..ebf724e 100644
--- a/admin.html
+++ b/admin.html
@@ -45,7 +45,7 @@
-
+
+
+
+
+
+
+

CashBox
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/cashbox.html b/cashbox.html
index e69de29..c0f4c19 100644
--- a/cashbox.html
+++ b/cashbox.html
@@ -0,0 +1,69 @@
+
+
+
+
+
+
+
+
+
+
+
CASHBOX
+
+
+