Commit graph

21 commits

Author SHA1 Message Date
Denis Natusch f808c2497d Remove employee if associated with order 2024-01-15 19:25:20 +01:00
Theo Reichert ff8bbdca15
Resolve some intentionality issues 2024-01-12 15:25:18 +01:00
Simon Bruder 6297f3c073
Update copyright dates of recently changed files
I forgot to update them in commits
743e459d41,
90d368a95b,
7fbd26d84c,
and 2d87b3928b.

It also adds swt23w23 as copyright owner on the time recording, as this
was forgotten when the attributions had initially been added.
2024-01-06 22:06:48 +01:00
Simon Bruder 90d368a95b
Implement hashCode/equals on ID for Entities
This also drops an angry comment that was the result of not being able
to fathom the default behaviour.

Fixes #87.
2024-01-04 11:43:20 +01:00
Simon Bruder bac025fd0a
Make project REUSE compliant
This finally makes the licensing under AGPL-3.0-or-later explicit after
I got the okay from the kickstart source owners.

This also checks the REUSE compliance in a pre commit hook, and
therefore also in CI.
2023-12-11 17:59:14 +01:00
Simon Bruder 580d3a6af6
Implement per-month employee working hours
Closes #76

Co-auther-by: Denis Natusch <denis.natusch@mailbox.tu-dresden.de>
2023-12-09 00:35:43 +01:00
Denis Natusch af09dd4a83
Add wage to employee 2023-12-05 10:14:15 +01:00
Denis Natusch 17a0e29dad
Add getAvailableStaffByJob to staff package
Co-authored-by: Simon Bruder <simon.bruder@mailbox.tu-dresden.de>
2023-12-05 10:14:15 +01:00
Denis Natusch 0119b1cfa0
Add staff form and bind it to model
Closes #51
2023-11-29 12:25:29 +01:00
Simon Bruder 4f1ed1f134
Use proper terminology for Staff and Employee
Staff is plural. The singular should be employee or a synonym.

Co-authored-by: Mathis Kral <mathis_tiberius.kral@mailbox.tu-dresden.de>
2023-11-27 18:03:26 +01:00
Simon Bruder a90a8cc051
Simplify staff addition and update 2023-11-27 16:46:46 +01:00
Simon Bruder 14dc478e41
Unify naming of employee id 2023-11-27 16:46:46 +01:00
Simon Bruder 3ebedd4ad8
Remove unused attribute in staff listing 2023-11-27 16:46:45 +01:00
Eren Asker b4dfa72852
Unify adding staff
Co-authored-by: Denis Natusch <denis.natusch@mailbox.tu-dresden.de>
Co-authored-by: Simon Bruder <simon.bruder@mailbox.tu-dresden.de>
2023-11-27 16:46:44 +01:00
Eren Asker 403cc56ae0
Return Streamable in StaffManagement.findAll 2023-11-27 16:46:43 +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
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
Denis Natusch 3ecdcffbcd
Simplifiy user id 2023-11-21 18:06:11 +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
Eren Asker 135f9b9e87
Add staff overview prototype 2023-11-21 18:00:18 +01:00