Zeiterfassung Update

* Feature Update Urklaubsaufbuchung/Minderung im BMD Import
This commit is contained in:
Daniel Spitzer
2024-06-09 18:08:20 +02:00
parent a4fbcad6fc
commit 2d70624bd8
4 changed files with 48 additions and 0 deletions
@@ -336,6 +336,16 @@ class TimerecordingBillingController extends mfBaseController
fputcsv($file, $bodyarray, ";");
}
}
if ($timerecordingBillingEmployee->holidays>0) {
//last day of month
$month= strtotime("01." . $month);
$monthend = date("d.m.Y", strtotime("last day of this month", $month));
$bodyarray = [$companybmd, $employee_number, 1, "1", "", "4", $monthend, $monthend, $timerecordingBillingEmployee->holidays, '0'];
fputcsv($file, $bodyarray, ";");
}
}
if ($timerecordingBillingEmployee->diet > 0 && $nlz == 0) {
$dietsum = round($timerecordingBillingEmployee->diet, 2);