From 22df08c29f6e4566d418e2a80a8279303406a733 Mon Sep 17 00:00:00 2001 From: Sebastian Reichel Date: Fri, 29 Jun 2018 00:58:19 +0200 Subject: build: switch to meson buildsystem We build the project with 'meson' now instead of using custom configure script + GNU Makefiles. To build the project, go to the project root directory and use the following commands: Building: meson build cd build ninja Update Language Files: ninja shopsystem-pot ninja shopsystem-update-po Install: DESTDIR=./tmp ninja install --- data/templates/stats/index.html | 19 +++++++ data/templates/stats/profit_per_day.html | 80 +++++++++++++++++++++++++++ data/templates/stats/profit_per_product.html | 42 ++++++++++++++ data/templates/stats/profit_per_weekday.html | 30 ++++++++++ data/templates/stats/stock.html | 83 ++++++++++++++++++++++++++++ 5 files changed, 254 insertions(+) create mode 100644 data/templates/stats/index.html create mode 100644 data/templates/stats/profit_per_day.html create mode 100644 data/templates/stats/profit_per_product.html create mode 100644 data/templates/stats/profit_per_weekday.html create mode 100644 data/templates/stats/stock.html (limited to 'data/templates/stats') diff --git a/data/templates/stats/index.html b/data/templates/stats/index.html new file mode 100644 index 0000000..987c90f --- /dev/null +++ b/data/templates/stats/index.html @@ -0,0 +1,19 @@ +

Statistics

+ +
+ + + + + + + + + + + + + + +
Number of Articles{{{NUMBER_OF_ARTICLES}}}
Number of Users{{{NUMBER_OF_USERS}}}
Stock Value{{{STOCK_VALUE}}}
Total Sales{{{TOTAL_SALES}}}
Total Profit{{{TOTAL_PROFIT}}}
Sales Today{{{SALES_TODAY}}}
Profit Today{{{PROFIT_TODAY}}}
Sales this Month{{{SALES_THIS_MONTH}}}
Profit this Month{{{PROFIT_THIS_MONTH}}}
Avg. Sales/Day{{{SALES_PER_DAY}}}
Avg. Profit/Day{{{PROFIT_PER_DAY}}}
Avg. Sales/Month{{{SALES_PER_MONTH}}}
Avg. Profit/Month{{{PROFIT_PER_MONTH}}}
+
diff --git a/data/templates/stats/profit_per_day.html b/data/templates/stats/profit_per_day.html new file mode 100644 index 0000000..5af05dc --- /dev/null +++ b/data/templates/stats/profit_per_day.html @@ -0,0 +1,80 @@ +
+
+ +

+ +
+ + diff --git a/data/templates/stats/profit_per_product.html b/data/templates/stats/profit_per_product.html new file mode 100644 index 0000000..7d8b50f --- /dev/null +++ b/data/templates/stats/profit_per_product.html @@ -0,0 +1,42 @@ +

Profit per Product (members only)

+
+
+ + diff --git a/data/templates/stats/profit_per_weekday.html b/data/templates/stats/profit_per_weekday.html new file mode 100644 index 0000000..d9f3e43 --- /dev/null +++ b/data/templates/stats/profit_per_weekday.html @@ -0,0 +1,30 @@ +

Profit per Weekday (last 8 weeks, members only)

+
+ + diff --git a/data/templates/stats/stock.html b/data/templates/stats/stock.html new file mode 100644 index 0000000..710bf60 --- /dev/null +++ b/data/templates/stats/stock.html @@ -0,0 +1,83 @@ +
+
+ +

+ +
+ + -- cgit v1.2.3