Kalender Anpassungen
- Kalender Freigaben für Conny
This commit is contained in:
@@ -192,9 +192,16 @@ class TimerecordingModel
|
||||
if (array_key_exists("start", $filter) && array_key_exists("days", $filter)) {
|
||||
$days = $filter['days'];
|
||||
$start = $filter['start'];
|
||||
$end= $filter['endsdate'];
|
||||
if ($days === 1) {
|
||||
$where .= " AND `start` >= $start AND `days` !=0 ORDER by start ASC";
|
||||
$where .= " AND `start` >= $start AND `days` !=0 ";
|
||||
}
|
||||
if ($end) {
|
||||
if (is_numeric($end)) {
|
||||
$where .= " AND `start` <= $end ";
|
||||
}
|
||||
}
|
||||
$where.=" ORDER by start ASC";
|
||||
}
|
||||
if (array_key_exists("timerecordingCar_id", $filter)) {
|
||||
$timerecordingCar = $filter['timerecordingCar_id'];
|
||||
|
||||
Reference in New Issue
Block a user