MaMaKow / dienstplan-apotheke

Ein Programm zur umfassenden Führung eines Dienstplanes für Apotheken.
GNU Affero General Public License v3.0
12 stars 2 forks source link

Employees disapear from the roster #95

Open MaMaKow opened 6 years ago

MaMaKow commented 6 years ago

The primary key of the table Dienstplan is VK + Datum + Dienstbeginn which is logical, because no one person can start working more than once at the same time. However, if on another branch the same employee is planned with the start of duty at the same time, it disappears from the first roster without warning.

Options:

  1. Change the primary to VK + Datum + Dienstbeginn + Mandant
  2. Test for this specific case before writing the data to the database and issue a warning/error to the user.