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 94e79c6..2cddde2 100644 --- a/prototype/src/main/java/org/hso/ecommerce/app/RequestController.java +++ b/prototype/src/main/java/org/hso/ecommerce/app/RequestController.java @@ -196,9 +196,9 @@ public class RequestController { return "/intern/accounting/vat"; } - @GetMapping("/intern/accounting/intern") + @GetMapping("/intern/accounting/main") public String accountingIntern() { - return "/intern/accounting/intern"; + return "/intern/accounting/main"; } @GetMapping("/intern/accounting/addManual") diff --git a/prototype/src/main/resources/static/css/ecom.css b/prototype/src/main/resources/static/css/ecom.css index f869861..7cb8dc6 100644 --- a/prototype/src/main/resources/static/css/ecom.css +++ b/prototype/src/main/resources/static/css/ecom.css @@ -1,6 +1,5 @@ @import "fonts.css"; - :root { font-family: "Fira Sans"; line-height: 1.15; @@ -326,6 +325,7 @@ footer { */ textarea, input[list], +input[type="number"], input[type="text"], input[type="password"] { background-color: var(--c-base); @@ -415,6 +415,15 @@ fieldset label { display: inline-block; } +input[type=number] { + text-align: right; + -moz-appearance: textfield; +} + +input[type="number"]:focus { + -moz-appearance: number-input; +} + /* * HERO */ @@ -827,14 +836,12 @@ fieldset label { margin: 0px; } - /*** THE UGLY TODO: Refactor ****/ - .dropdown { width: 12.5rem; display: block; @@ -844,6 +851,7 @@ TODO: Refactor display: none; position: absolute; } + .dropdown .dropdown-button { display: block; width: 12.5rem; @@ -851,8 +859,7 @@ TODO: Refactor margin-bottom: 0px; } -.dropdown:hover .dropdown-content { -} +.dropdown:hover .dropdown-content {} .dropdown:hover .dropdown-button { display: inline-block; diff --git a/prototype/src/main/resources/templates/fragments/intern.html b/prototype/src/main/resources/templates/fragments/intern.html index 407bbf4..841f814 100644 --- a/prototype/src/main/resources/templates/fragments/intern.html +++ b/prototype/src/main/resources/templates/fragments/intern.html @@ -8,32 +8,34 @@
diff --git a/prototype/src/main/resources/templates/intern/accounting/addManual.html b/prototype/src/main/resources/templates/intern/accounting/addManual.html index e69de29..64256d7 100644 --- a/prototype/src/main/resources/templates/intern/accounting/addManual.html +++ b/prototype/src/main/resources/templates/intern/accounting/addManual.html @@ -0,0 +1,117 @@ + + + + + + + ++ Buchungen können manuell getätigt werden. + Jetzt Buchen +
+ ++
+ + | +|||||||
---|---|---|---|---|---|---|---|
Zeitpunkt | +Betrag | +Von | +Kontostand | +Nach | +Kontostand | +Grund | +Referenz | +
10.09.2019 14:10 | +119,00 EUR | +- | +- | +Kunde 5080 | +0 EUR | +Kunden-Bezahlung | +Bezahlung mit Kreditkarte 89404480 | +
10.09.2019 13:45 | +19,00 EUR | +Hauptkonto | +331,00 EUR | +Mehrwertsteuer | +1510,95 EUR | +Kunden-Bestellung | +2504 | +
10.09.2019 13:45 | +100,00 EUR | +Kunde 5080 | +-100,00 EUR | +Hauptkonto | +350,00 EUR | +Kunden-Bestellung | +2504 | +
19.08.2019 12:31 | +250,00 EUR | +- | +- | +Hauptkonto | +250,00 EUR | +Startkapital | +- | +
+
+
+ + | +|||||||
---|---|---|---|---|---|---|---|
Zeitpunkt | +Betrag | +Von | +Kontostand | +Nach | +Kontostand | +Grund | +Referenz | +
10.09.2019 13:45 | +-19,00 EUR | + +Mehrwertsteuer | +1510,95 EUR | + +Hauptkonto | +331,00 EUR | + +Kunden-Bestellung | +2504 | +
10.09.2019 13:45 | +100,00 EUR | +Kunde 5080 | +-100,00 EUR | +Hauptkonto | +350,00 EUR | +Kunden-Bestellung | +2504 | +
19.08.2019 12:31 | +250,00 EUR | +- | +- | +Hauptkonto | +250,00 EUR | +Startkapital | +- | +
+
+
+ + | +|||||||
---|---|---|---|---|---|---|---|
Zeitpunkt | +Betrag | +Von | +Kontostand | +Nach | +Kontostand | +Grund | +Referenz | +
10.09.2019 13:45 | +19,00 EUR | +Hauptkonto | +331,00 EUR | +Mehrwertsteuer | +1510,95 EUR | +Kunden-Bestellung | +2504 | +
+