Merge branch 'master' into fronkdev

This commit is contained in:
Frank Schubert
2024-03-12 15:46:37 +01:00
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
<?/** @var TYPE_NAME $git_merge_ts */?>
<?php/** @var TYPE_NAME $git_merge_ts */?>
<!DOCTYPE html>
<html lang="en">
<head>
@@ -50,7 +50,6 @@ class TimerecordingController extends mfBaseController
default:
$return = false;
}
echo $do;
if (!is_array($return) || !count($return)) {
$data = ["status" => "error"];
$this->returnJson($data);
@@ -917,7 +916,6 @@ class TimerecordingController extends mfBaseController
protected function fillWorkinghours($dataweek)
{
$employee = TimerecordingEmployeeModel::search(['user_id' => $this->me->id]);
if ($employee) {
$auto_workinghours = $employee[0]->auto_workinghours;
@@ -989,6 +987,8 @@ class TimerecordingController extends mfBaseController
$this->updatePlushours($this->me->id);
$this->updateHolidays($this->me->id);
}
$result['message'] = "Ok";
return $result;
}
protected function deleteAction()
+1 -1
View File
@@ -6,7 +6,7 @@ document.addEventListener('DOMContentLoaded', () => {
// @formatter:on
const notyf = new Notyf({
duration: 10000, position: {
duration: 10000 * 1000, position: {
x: 'right', y: 'bottom',
}, ripple: true, dismissible: true, fontSize: '32px',
});
File diff suppressed because one or more lines are too long