Zeiterfassung

Neue Features:
* BP Stunden Aufbuchen/Mindern
* Spezialbuchungen ohne Verechnungstechnische relevanz
This commit is contained in:
Daniel Spitzer
2024-12-29 20:24:36 +01:00
parent 42703dd303
commit 085d8facdc
12 changed files with 151 additions and 27 deletions

View File

@@ -150,6 +150,13 @@ class TimerecordingEmployeeController extends mfBaseController
$data['bpahours_value'] = $bpahours_value;
}
}
if ($this->me->superexpertEnabled()) {
if ($r->only_admin) {
$data['only_admin'] = $r->only_admin;
} else {
$data['only_admin'] = 0;
}
}
if (!$data['overtime']) {
$data['overtime'] = 0;

View File

@@ -20,6 +20,7 @@ class TimerecordingEmployeeModel
private $enddate;
private $bmd_active;
private $jobbike;
private $only_admin;
private $birthday;
public static $employeetypesbmd = array('1' => '1000', '2' => '1200', '3' => '1400');