Zeiterfassung Update
* Nicht freigegebene Abwesenheiten werden nun in der Kalenderübersicht strichliert dargestellt * Anpassungen in den Genehmigungsemails
This commit is contained in:
@@ -1611,7 +1611,7 @@ WHERE `TimerecordingCategory`.`hourday`!='1' AND `TimerecordingCategory`.`hourda
|
||||
|
||||
}
|
||||
$updateArray = [];
|
||||
$res = $db->select("cal_events", 'id,microsoft_id,name,microsoft_ical_uid,start_time,end_time', "id = '" . $id . "' LIMIT 1");
|
||||
$res = $db->select("cal_events", 'id,microsoft_id,name,microsoft_ical_uid,linked_event_uid,start_time,end_time', "id = '" . $id . "' LIMIT 1");
|
||||
if ($db->num_rows($res)) {
|
||||
$result = $db->fetch_object($res);
|
||||
|
||||
@@ -1656,7 +1656,7 @@ WHERE `TimerecordingCategory`.`hourday`!='1' AND `TimerecordingCategory`.`hourda
|
||||
$db->insert("TheTool_CalendarQueue", $data);
|
||||
}
|
||||
|
||||
$res = $db->select("cal_events", 'id,microsoft_id,name,microsoft_ical_uid,start_time,end_time,calendar_id', "id != '" . $id . "' AND microsoft_ical_uid = '" . $result->microsoft_ical_uid . "' ");
|
||||
$res = $db->select("cal_events", 'id,microsoft_id,name,microsoft_ical_uid,start_time,end_time,calendar_id', "id != '" . $id . "' AND (microsoft_ical_uid = '" . $result->microsoft_ical_uid . "' || linked_event_uid = '" .$result->linked_event_uid."') ");
|
||||
while ($row = $db->fetch_object($res)) {
|
||||
$updateArray = [];
|
||||
$updateArray['name'] = $newname;
|
||||
|
||||
Reference in New Issue
Block a user