- | = $timerecordingcategories->name ?> |
- = $timerecordingcategories->short ?> |
- = $timerecordingcategorieshourday[$timerecordingcategories->hourday] ?> |
- = $timerecordingcategoriesapproval[$timerecordingcategories->approval] ?> |
- = $timerecordingcategoriesrequire_comment[$timerecordingcategories->require_comment] ?> |
- = $timerecordingcategoriesrequire_comment[$timerecordingcategories->only_admin] ?> |
+ = $timerecordingcategories->name ?> |
+ = $timerecordingcategories->short ?> |
+ = $timerecordingcategorieshourday[$timerecordingcategories->hourday] ?> |
+ = $timerecordingcategoriesapproval[$timerecordingcategories->approval] ?> |
+ = $timerecordingcategoriesbusinesstrip[$timerecordingcategories->businesstrip] ?> |
+ = $timerecordingcategoriesrequire_comment[$timerecordingcategories->require_comment] ?> |
+ = $timerecordingcategoriesrequire_only_admin[$timerecordingcategories->only_admin] ?> |
$timerecordingcategories->id]) ?>">
@@ -83,7 +86,7 @@
diff --git a/Layout/default/TimerecordingReport/Index.php b/Layout/default/TimerecordingReport/Index.php
index 5eaac5630..0b6f31610 100644
--- a/Layout/default/TimerecordingReport/Index.php
+++ b/Layout/default/TimerecordingReport/Index.php
@@ -1,5 +1,46 @@
name] = $timerecordinguser->id;
+}
+ksort($timerecordingUsers);
+
+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");
+
+ $weeks[$time] = "KW" . $kw . " " . $year . " (" . date('d.m', $timestamp_montag) . "-" . date('d.m', $timestamp_freitag) . ")";
+ $time = $time - 604800;
+}
+$time = time();
+for ($i = 1; $i <= 12; $i++) {
+ $mon = date('n', $time);
+ $year = date('Y', $time);
+ $month[$time] = $monthger[$mon] . " " . $year;
+ $time = strtotime('-1 month', $time);
+}
+
+$years[time() + 31536000] = date('Y', time() + 31536000);
+$years[time()] = date('Y', time());
+$years[time() - 31536000] = date('Y', time() - 31536000);
+
+
?>
@@ -31,10 +72,26 @@ $daysgerm = array("So", "Mo", "Di", "Mi", "Do", "Fr", "Sa");
.edit-placeholder {
height: 15px;
- width: 19px;
+ width: 27px;
display: inline-block;
}
+ .fa-trash {
+ cursor: pointer;
+ }
+
+ .text-bold {
+ font-weight: 500;
+ color: #000;
+ }
+
+ .text-normal {
+ color: #000;
+ }
+
+ .fixed-state {
+ background-color: #d0fbd9;
+ }
@@ -52,29 +109,201 @@ $daysgerm = array("So", "Mo", "Di", "Mi", "Do", "Fr", "Sa");
+
- |