Zeiterfassung Update/Bugfix
* TimerecordingReportController.php verweist in einer gewissen Datenbank-Eintragskonstellation auf einen ungültigen Array Index. Hab die gesamtsollzeitberechnung temporär ausgeschalten * Neu Migration (Vorbereiten der DB auf eigenes Ü-Zeitkonto) * Kalender Feiertagsdescription angepasst * Geburtstage nun möglich in Personaladministration und Kalender * Initiale Überstunden sind nun möglich * Berechnung Urlaubstage nun exakt
This commit is contained in:
@@ -10,6 +10,14 @@ final class TimerecordingEmployeeAddFieldOvertime extends AbstractMigration
|
||||
if($this->getEnvironment() == "thetool") {
|
||||
$table = $this->table("TimerecordingEmployee", ["signed" => true]);
|
||||
$table->addColumn("overtime", "integer", ["null" => false, "default" => '0', "after" => "plushours_now"]);
|
||||
$table->addColumn("overtime_now", "integer", ["null" => false, "default" => '0', "after" => "plushours_now"]);
|
||||
$table->addColumn("overtime_timestamp", "integer", ["null" => true, "after" => "overtime_now"]);
|
||||
$table->addColumn("holidays_timestamp", "integer", ["null" => true, "after" => "holidays_now"]);
|
||||
$table->addColumn("plushours_timestamp", "integer", ["null" => true, "after" => "plushours_now"]);
|
||||
$table->addColumn("birthday", "integer", ["null" => true, "after" => "startdate"]);
|
||||
|
||||
|
||||
$table->addColumn("bpahours", "integer", ["null" => false, "default" => '0', "after" => "overtime"]);
|
||||
$table->changeColumn('holidays_now', 'integer', ["null" => false, "default" => '0']);
|
||||
$table->changeColumn('plushours_now', 'integer', ["null" => false, "default" => '0']);
|
||||
$table->update();
|
||||
|
||||
Reference in New Issue
Block a user