diff --git a/Layout/default/Pop/Index.php b/Layout/default/Pop/Index.php index 6d75929dc..6c8f3ed88 100644 --- a/Layout/default/Pop/Index.php +++ b/Layout/default/Pop/Index.php @@ -206,10 +206,8 @@ $pagination_entity_name = "Pops"; markers[building.id] = marker; }); - console.log(all_coords); // calculate center position mapCenterPos = GetCenterFromDegrees(all_coords); - console.log(mapCenterPos); buildingMap.setView(mapCenterPos, 12); return true; @@ -228,7 +226,6 @@ $pagination_entity_name = "Pops"; filter: filter }, function (success) { if (success.status == "OK") { - console.log(success); if (Array.isArray(success.result.buildings)) { buildings = success.result.buildings; diff --git a/Layout/default/Timerecording/Index.php b/Layout/default/Timerecording/Index.php index eefaa1564..dc073fd1f 100644 --- a/Layout/default/Timerecording/Index.php +++ b/Layout/default/Timerecording/Index.php @@ -18,7 +18,7 @@ for ($i = 1; $i <= 25; $i++) { $kw = date('W', $time); $year = date('Y', $time); $timestamp_montag = strtotime("{$year}-W{$kw}"); - $timestamp_freitag = strtotime("{$year}-W{$kw}-5"); + $timestamp_freitag = strtotime("{$year}-W{$kw}-7"); $weeks[$time] = "KW" . $kw . " " . $year . " (" . date('d.m', $timestamp_montag) . "-" . date('d.m', $timestamp_freitag) . ")"; $time = $time - 604800; } @@ -179,14 +179,14 @@ $years[time() - 31536000] = date('Y', time() - 31536000); -