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 @@ -