From ce201c5d85a0934d3a7659fd712b8abc8cd76985 Mon Sep 17 00:00:00 2001 From: CodeSteak Date: Thu, 16 Jan 2020 21:01:15 +0100 Subject: [PATCH] add accounting pages --- .../hso/ecommerce/app/RequestController.java | 28 ++++++ .../templates/intern/accounting.html | 95 +++++++++++++++++++ .../templates/intern/accountingmain.html | 90 ++++++++++++++++++ .../templates/intern/accountingvat.html | 65 +++++++++++++ 4 files changed, 278 insertions(+) create mode 100644 prototype/src/main/resources/templates/intern/accounting.html create mode 100644 prototype/src/main/resources/templates/intern/accountingmain.html create mode 100644 prototype/src/main/resources/templates/intern/accountingvat.html diff --git a/prototype/src/main/java/org/hso/ecommerce/app/RequestController.java b/prototype/src/main/java/org/hso/ecommerce/app/RequestController.java index 96020bc..9ea85c0 100644 --- a/prototype/src/main/java/org/hso/ecommerce/app/RequestController.java +++ b/prototype/src/main/java/org/hso/ecommerce/app/RequestController.java @@ -52,6 +52,34 @@ public class RequestController { return "searchResults"; } + @GetMapping("/intern/customerdetail") + public String customerdetail() { + // TODO @PH + return "intern/customer"; + } + + @GetMapping("/intern/customerorders") + public String customerorders() { + // TODO @PH + return "intern/customerorders"; + } + + @GetMapping("/intern/accounting") + public String accounting() { + return "intern/accounting"; + } + + @GetMapping("/intern/accountingvat") + public String accountingvat() { + return "intern/accountingvat"; + } + + @GetMapping("/intern/accountingmain") + public String accountingmain() { + return "intern/accountingmain"; + } + + @GetMapping("/intern/articles") public String articles() { return "intern/articles"; diff --git a/prototype/src/main/resources/templates/intern/accounting.html b/prototype/src/main/resources/templates/intern/accounting.html new file mode 100644 index 0000000..c0f27bc --- /dev/null +++ b/prototype/src/main/resources/templates/intern/accounting.html @@ -0,0 +1,95 @@ + + + + + + e-commerce + + + + + + + + +
+ +
+

Alle Buchungen

+ +

Manuelle Buchung

+

+ Buchungen können manuell getätigt werden. + Jetzt Buchen +

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
ZeitpunktBetragVonKontostandNachKontostandGrundReferenz
10.09.2019 14:10119,00 EUR - - Kunde 50800 EURKunden-BezahlungBezahlung mit Kreditkarte 89404480
10.09.2019 13:4519,00 EURHauptkonto331,00 EURMehrwertsteuer1510,95 EURKunden-Bestellung2504
10.09.2019 13:45100,00 EURKunde 5080-100,00 EURHauptkonto350,00 EURKunden-Bestellung2504
19.08.2019 12:31250,00 EUR - - Hauptkonto250,00 EURStartkapital -
+

+

+
+ + + + diff --git a/prototype/src/main/resources/templates/intern/accountingmain.html b/prototype/src/main/resources/templates/intern/accountingmain.html new file mode 100644 index 0000000..278b307 --- /dev/null +++ b/prototype/src/main/resources/templates/intern/accountingmain.html @@ -0,0 +1,90 @@ + + + + + + e-commerce + + + + + + + + +
+ +
+

Hauptkonto Buchungen

+ +

Manuelle Buchung

+

+ Buchungen können manuell getätigt werden. + Jetzt Buchen +

+ +

Kontostand

+

331,00 EUR

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
ZeitpunktBetragVonKontostandNachKontostandGrundReferenz
10.09.2019 13:45-19,00 EURMehrwertsteuer1510,95 EURHauptkonto331,00 EURKunden-Bestellung2504
10.09.2019 13:45100,00 EURKunde 5080-100,00 EURHauptkonto350,00 EURKunden-Bestellung2504
19.08.2019 12:31250,00 EUR - - Hauptkonto250,00 EURStartkapital -
+

+

+
+ + + + diff --git a/prototype/src/main/resources/templates/intern/accountingvat.html b/prototype/src/main/resources/templates/intern/accountingvat.html new file mode 100644 index 0000000..5cda4ab --- /dev/null +++ b/prototype/src/main/resources/templates/intern/accountingvat.html @@ -0,0 +1,65 @@ + + + + + + e-commerce + + + + + + + + +
+ +
+

Mehrwertsteuer Buchungen

+ +

Manuelle Buchung

+

+ Buchungen können manuell getätigt werden. + Jetzt Buchen +

+ +

Kontostand

+

1510.95 EUR

+ +

+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
ZeitpunktBetragVonKontostandNachKontostandGrundReferenz
10.09.2019 13:4519,00 EURHauptkonto331,00 EURMehrwertsteuer1510,95 EURKunden-Bestellung2504
+

+

+
+ + + +