Zeiterfassung update

* Mails für Antragspflichtige Buchungen
* Mails für Genehmigungen und Ablehnungen
* Korrekturen Update
* Kalender locales hinzugefügt
* Button für autoausfüllen eingebaut

Config update
define("TT_TIMERECORDING_EMAIL","zeiterfassung@xinon.at");
define("TT_TIMERECORDING_EMAIL_NAME","Xinon Zeiterfassung");
This commit is contained in:
Spitzer Daniel
2024-02-19 14:52:58 +01:00
parent 615fa8d7e6
commit cdbf9de6fe
4 changed files with 10 additions and 3 deletions

View File

@@ -265,6 +265,7 @@ class TimerecordingController extends mfBaseController
if ($employee) {
$holiDays = $employee[0]->holidays;
$plusHours = $employee[0]->plushours;
$auto_workinghours = $employee[0]->auto_workinghours;
}
$workinghours = TimerecordingEmployeeWorkingHourModel::search(['user_id' => $this->me->id]);
@@ -441,6 +442,7 @@ class TimerecordingController extends mfBaseController
}
endforeach;
$json['success'] = true;
$json['time']['auto_workinghours'] = $auto_workinghours;
$json['time']['is'] = sprintf('%02dh:%02dm', floor($isSeconds / 3600), floor($isSeconds / 60 % 60));
$json['time']['must'] = sprintf('%02dh:%02dm', floor($mustSeconds / 3600), floor($mustSeconds / 60 % 60));
$json['time']['holidays'] = $holiDays;