From 2b7744bd20df91bb290d6fea583faf6977406a83 Mon Sep 17 00:00:00 2001 From: Daniel Spitzer Date: Fri, 5 Jul 2024 10:53:35 +0200 Subject: [PATCH] =?UTF-8?q?Zeiterfassung=20=20*=20Fix=200=20Tage=20Urlaubs?= =?UTF-8?q?anzeige=20Verrechnung=20abgeschlossen/Verrechnungs=20Monats?= =?UTF-8?q?=C3=BCbersicht=20=20*=20Umbau=20Personaladministration=20f?= =?UTF-8?q?=C3=BCr=20Conny=20=20*=20$git=5Fmerge=5Fts=20eingebaut?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../TimerecordingBilling/DetailClosed.php | 5 +- .../default/TimerecordingBilling/Overview.php | 14 +++--- Layout/default/TimerecordingCar/Index.php | 4 +- .../default/TimerecordingEmployee/Index.php | 46 +++++++++++++------ public/assets/css/datatables-std.css | 4 ++ public/assets/js/datatables-std2.js | 4 +- 6 files changed, 51 insertions(+), 26 deletions(-) diff --git a/Layout/default/TimerecordingBilling/DetailClosed.php b/Layout/default/TimerecordingBilling/DetailClosed.php index 2c94fae66..f1d03d6be 100644 --- a/Layout/default/TimerecordingBilling/DetailClosed.php +++ b/Layout/default/TimerecordingBilling/DetailClosed.php @@ -174,7 +174,9 @@ $nlz_details = json_decode($timerecording->nlz, true); foreach ($nlz_details as $key => $nlz_detail) { if ($nlz_detail < 100) { - $nlz .= $key . ": " . $nlz_detail . " Tag(e)
"; + if ($nlz_detail > 0) { + $nlz .= $key . ": " . $nlz_detail . " Tag(e)
"; + } } else { $nlz .= $key . ": " . round($nlz_detail / 3600, 2) . " Stunden
"; } @@ -500,5 +502,4 @@ src="assets/js/datatables-std2.js?"> - \ No newline at end of file diff --git a/Layout/default/TimerecordingBilling/Overview.php b/Layout/default/TimerecordingBilling/Overview.php index 177e55536..c60c0dc9e 100644 --- a/Layout/default/TimerecordingBilling/Overview.php +++ b/Layout/default/TimerecordingBilling/Overview.php @@ -2,9 +2,9 @@ ?> - -
@@ -75,7 +75,9 @@ $nlz_details = json_decode($timerecordingbillingsemployee->nlz, true); foreach ($nlz_details as $key => $nlz_detail) { if ($nlz_detail < 100) { - $nlz .= $key . ": " . $nlz_detail . " Tag(e)
"; + if ($nlz_detail > 0) { + $nlz .= $key . ": " . $nlz_detail . " Tag(e)
"; + } } else { $nlz .= $key . ": " . round($nlz_detail / 3600, 2) . " Stunden
"; } @@ -113,15 +115,13 @@
+ src="datatables/DataTables-2x/datatables.min.js?"> + src="assets/js/datatables-std2.js?"> \ No newline at end of file diff --git a/Layout/default/TimerecordingCar/Index.php b/Layout/default/TimerecordingCar/Index.php index 31c0e5bbb..e413191e9 100644 --- a/Layout/default/TimerecordingCar/Index.php +++ b/Layout/default/TimerecordingCar/Index.php @@ -1,5 +1,5 @@ -