Commit graph

62 commits

Author SHA1 Message Date
Simon Bruder 14dc478e41
Unify naming of employee id 2023-11-27 16:46:46 +01:00
Erik Hohlfeld 795ccc31d2 Base orderCatalog fully on salespoint 2023-11-26 21:49:55 +01:00
Erik Hohlfeld 8cc44c8121 Fix the remove methods to work again 2023-11-26 21:49:55 +01:00
Erik Hohlfeld eab8e3fee0 Add inventory based product selection 2023-11-26 21:49:55 +01:00
Erik Hohlfeld ddf4d7f645 Change CustomCatalogEntryRepository to extend CrudRepository 2023-11-26 21:49:55 +01:00
Mathis Kral f50fbb5ac4 Add basic order-staff-relation
Works on #73
This contains changes on multiple files to associate
multiple employees with an order and make customers
able to add employees to their order.
Because of SQL JPA things, this will not be final.
2023-11-26 20:34:23 +01:00
Theo Reichert 53c40fec2f
Fix link from calender day to page with orders on this day 2023-11-24 20:24:14 +01:00
Paul Heimer f1f9539aae
Add error handling for inventory 2023-11-24 17:25:33 +01:00
Simon Bruder 6bd1c23e2d
Bind inventory mutate form to template
Co-authored-by: Paul Heimer <heimerp54@gmail.com>
2023-11-24 17:25:33 +01:00
Denis Natusch 2515c17de5
Let admin edit all fields of customer 2023-11-24 15:47:23 +01:00
Denis Natusch 6c8daa5287
Use enum for job types 2023-11-21 18:06:12 +01:00
Denis Natusch 5aeaf01e0e
Remove surname from staff
Co-authored-by: Simon Bruder <simon.bruder@mailbox.tu-dresden.de>
2023-11-21 18:06:12 +01:00
Erik Hohlfeld 317af597f5
Make orderCatalog use OrderType 2023-11-21 18:04:56 +01:00
Denis Natusch 2248e8eeef
Replace address input with textarea 2023-11-21 18:04:56 +01:00
Denis Natusch 6759841742
Implement staff with salespoint
Co-authored-by: Eren Asker <eren.asker@mailbox.tu-dresden.de>
2023-11-21 18:04:54 +01:00
Mathis Kral 27fdc3ef02
Add additional functionality to order package
This adds improved product removal from cart, changeable order time and
nice colors to order list.

Works on #38
2023-11-21 18:04:16 +01:00
Denis Natusch ea24c27d6e
Add more attributes to user/customer
Closes #42
2023-11-21 18:04:15 +01:00
Mathis Kral a8a67a9626
Update basics of order package to salespoint
This removes the calendar, as it currently conflicts with the salespoint
architecture.

Works on #38
2023-11-21 18:04:14 +01:00
Simon Bruder 0c4286e198
Use valid e-mail in footer 2023-11-21 18:00:38 +01:00
Theo Reichert 5cc1596363
Fix template and css for calender 2023-11-21 18:00:37 +01:00
Simon Bruder 5446483776
Use more friendly welcome message
Co-authored-by: Erik Hohlfeld <erik.hohlfeld@mailbox.tu-dresden.de>
2023-11-21 18:00:37 +01:00
Simon Bruder 09a79e0b95
Make footer more professional 2023-11-21 18:00:37 +01:00
Simon Bruder 32f997464e
Don’t use messages
The system won’t be multilingual anyway, so this just adds complexity
and things to trip over.

Closes #25
2023-11-21 18:00:36 +01:00
Simon Bruder 0f4b174460
Remove duplicate title elements
The title element should only be set by the layout template.
2023-11-21 18:00:35 +01:00
Simon Bruder aaa8b38f6b
Switch to bootstrap for styling 2023-11-21 18:00:35 +01:00
Simon Bruder 967db8793e
Move footer into body 2023-11-21 18:00:35 +01:00
Simon Bruder bc7bc6345d
Inline static strings in welcome 2023-11-21 18:00:34 +01:00
Simon Bruder 1320de9f3c
Use more modern charset declaration
This also deduplicates the charset declaration to only specify it once.
2023-11-21 18:00:34 +01:00
Simon Bruder a8d4e0ef5d
Use correct UTF-8 in welcome template 2023-11-21 18:00:34 +01:00
Mathis Kral a276701c8a
Add sec:authorize to catalog and orders
Closes #22
2023-11-21 18:00:33 +01:00
Denis Natusch 9eeb25a281
Make only customers able to delete their own account 2023-11-21 18:00:33 +01:00
Denis Natusch 02551aa802
Make only enabled customers able to be removed 2023-11-21 18:00:32 +01:00
Theo Reichert bb5e89a83d
Update cell in calender links to orders filteredByDay 2023-11-21 18:00:32 +01:00
Denis Natusch cd401219e2
Make user consistent with design model
Co-authored-by: Simon Bruder <simon.bruder@mailbox.tu-dresden.de>
2023-11-21 18:00:30 +01:00
Simon Bruder 578968296d
Fix thymeleaf deprecation warnings in layout 2023-11-21 18:00:30 +01:00
Simon Bruder 7d3a5f4d0c
Integrate security into navigation
This also simplifies the template quite a bit, as it previously
contained some redundancy.
2023-11-21 18:00:29 +01:00
Mathis Kral 1598a57a61
Include layout.html 2023-11-21 18:00:29 +01:00
Theo Reichert 1777e268db
Add calender to OrderController
calender displays `order.id`s per day
2023-11-21 18:00:29 +01:00
Theo Reichert 397027a650
Add calender to OrderController
calender can't count orders per day
2023-11-21 18:00:28 +01:00
Erik Hohlfeld 24e4ce63dc
Add functionality to add to the catalog with the catalog_editor 2023-11-21 18:00:28 +01:00
Erik Hohlfeld e7a722b6f8
Add removal of CustomCatalogEntry inside catalog via button 2023-11-21 18:00:27 +01:00
Erik Hohlfeld 580529ab2f
Add adding and removing of CustomProducts inside catalog_editor 2023-11-21 18:00:27 +01:00
Erik Hohlfeld 89eed0755d
Add forms to the catalog editor to submit its data 2023-11-21 18:00:26 +01:00
Erik Hohlfeld 6875622c19
Add display of all catalog entries (CustomCatalogEntry) in catalog 2023-11-21 18:00:25 +01:00
Erik Hohlfeld 9f7a90814d
Initialize all Catalog classes regarding the prototype 2023-11-21 18:00:24 +01:00
Mathis Kral d8bcb311dc
Add checkout and change of orderType 2023-11-21 18:00:24 +01:00
Mathis Kral 8eb8281e5c
Add functionality for adding products to an event 2023-11-21 18:00:23 +01:00
Mathis Kral 15f47a04b3
Add simple table structure 2023-11-21 18:00:23 +01:00
Mathis Kral 6e677eba82
Add eventPlanner.html and improve navbar 2023-11-21 18:00:22 +01:00
Erik Hohlfeld 3df78b4ba0
Add event_configuration.html and adjusted WelcomeController.java to link it 2023-11-21 18:00:22 +01:00