From 5d01cbe6d10002ba8c4e06183903fbe7787f1df0 Mon Sep 17 00:00:00 2001 From: Spitzer Daniel Date: Sun, 14 Jan 2024 14:08:39 +0100 Subject: [PATCH] =?UTF-8?q?Zeiterfassung=20Feiertage=20Anpassungen=20Feldg?= =?UTF-8?q?r=C3=B6=C3=9Fen=20/=20Datum=20wird=20nun=20mit=20Wochentag=20an?= =?UTF-8?q?gezeigt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Layout/default/TimerecordingHoliday/Index.php | 27 ++++--------------- .../TimerecordingHolidayController.php | 2 +- 2 files changed, 6 insertions(+), 23 deletions(-) diff --git a/Layout/default/TimerecordingHoliday/Index.php b/Layout/default/TimerecordingHoliday/Index.php index aa3e88512..338d3d0f4 100644 --- a/Layout/default/TimerecordingHoliday/Index.php +++ b/Layout/default/TimerecordingHoliday/Index.php @@ -1,24 +1,7 @@ - + - $timerecordingholiday->timestamp, -// 'description' => '$timerecordingholiday->description', -// 'create_by' => $timerecordingholiday->create_by, -// 'edit_by' => $timerecordingholiday->edit_by, -// 'create' => $timerecordingholiday->create, -// 'edit' => $timerecordingholiday->edit -// ], -// "; -// -//endforeach; -//echo "]"; -//?> - Datum + Datum Name @@ -70,7 +53,7 @@ - timestamp) ?> + timestamp)]." ".date("d.m.Y", $timerecordingholiday->timestamp) ?> description ?> $timerecordingholiday->id]) ?>">me = $me; $this->layout()->set("me", $me); - if (!$me->is(["Admin"])) { + if (!$me->can(["Fibu"])) { $this->redirect("Dashboard"); } }