Create OrdersPage, load orders from backend, move NavDrawer items to Component

This commit is contained in:
2024-09-11 20:49:55 +02:00
parent 55fd203c7f
commit 8594763fa6
34 changed files with 361 additions and 178 deletions

View File

@@ -1,6 +1,5 @@
{
"menu":
{
"menu": {
"shopping": "Shopping",
"products": "Products",
"basket": "Basket",
@@ -9,7 +8,8 @@
"orders": "Orders",
"systemAndHelp": "System & Help",
"helpInstructions": "Help instructions",
"preferences": "Preferences"
"preferences": "Preferences",
"logout": "Logout"
},
"preferences": {
"pageSetup": "Page setup",
@@ -19,8 +19,14 @@
"resetDatabase": "Reset database",
"resetPreferences": "Reset preferences"
},
"products": "Products",
"product": "Product",
"product": {
"product": "Product",
"products": "Products",
"productName": "Product name",
"brand": "Brand",
"productPrice": "Unit price",
"category": "Category"
},
"offers": "Offers",
"categories": "Categories",
"sortBy": "Sort by",
@@ -30,14 +36,7 @@
"emptyBasketText": "Go to our products and add some of them to the basket",
"totalPrice": "Total price",
"orderNow": "Order now",
"category": "Category",
"brand": "Brand",
"productPrice": "Unit price",
"username": "Username",
"password": "Password",
"login": "Login",
"noAccountRegister": "Create new Account!",
"register": "Create Account",
"userInfo": {
"firstName": "First Name",
"lastName": "Family Name",
@@ -46,6 +45,19 @@
"postalCode": "Postal Code",
"city": "City"
},
"backToLogin": "Back to Login",
"logout": "Logout"
"account": {
"backToLogin": "Back to Login",
"username": "Username",
"password": "Password",
"noAccountRegister": "Create new Account!",
"register": "Create Account"
},
"bannerMessages": {
"loginSuccessful": "Login erfolgreich!",
"wrongLogin": "Falscher Username oder falsches Passwort!",
"error": "Some error occurred...",
"databaseResetSuccessful": "Database reset successful!"
}
}

View File

@@ -9,7 +9,8 @@
"orders": "Bestellungen",
"systemAndHelp": "System & Hilfe",
"helpInstructions": "Hilfestellung",
"preferences": "Einstellungen"
"preferences": "Einstellungen",
"logout": "Ausloggen"
},
"preferences": {
"pageSetup": "Seiteneinstellungen",
@@ -19,8 +20,14 @@
"resetDatabase": "Datenbank zurücksetzen",
"resetPreferences": "Einstellungen zurücksetzen"
},
"products": "Produkte",
"product": "Produkt",
"product": {
"product": "Produkt",
"products": "Produkte",
"productName": "Product Name",
"brand": "Marke",
"productPrice": "Einzelpreis",
"category": "Kategorie"
},
"offers": "Angebote",
"categories": "Kategorien",
"sortBy": "Sortieren nach",
@@ -29,15 +36,8 @@
"emptyBasketTitle": "Keine Artikel im Warenkorb",
"emptyBasketText": "Gehe zu unseren Produkten und lege Artikel in den Warenkorb",
"totalPrice": "Gesamtpreis",
"orderNow": "Jetzt bestellen",
"category": "Kategorie",
"brand": "Marke",
"productPrice": "Einzelpreis",
"username": "Username",
"password": "Passwort",
"login": "Login",
"noAccountRegister": "Neuen Account erstellen!",
"register": "Account erstellen",
"orderNow": "Jetzt bestellen",
"userInfo": {
"firstName": "Vorname",
"lastName": "Nachname",
@@ -46,6 +46,19 @@
"postalCode": "Postleitzahl",
"city": "Stadt"
},
"backToLogin": "Zurück zum Login",
"logout": "Ausloggen"
"account": {
"username": "Username",
"password": "Passwort",
"noAccountRegister": "Neuen Account erstellen!",
"register": "Account erstellen",
"backToLogin": "Zurück zum Login"
},
"bannerMessages": {
"loginSuccessful": "Login erfolgreich!",
"wrongLogin": "Falscher Username oder falsches Passwort!",
"error": "Es ist ein Fehler aufgetreten...",
"databaseResetSuccessful": "Datenbank erfolgreich zurück gesetzt!"
}
}