Fix calendar_view
This commit is contained in:
parent
122b12e99c
commit
ec2d8a1ee4
@ -4882,6 +4882,11 @@
|
||||
}
|
||||
$this->db->query("INSERT INTO user_client_events (user_id, req_id, deal_id, type, name, comment, create_date) VALUES ($user_id, $id, $dealId, 'deal', 'Закрытие сделки', '".addslashes($comment)."', NOW())");
|
||||
}
|
||||
|
||||
if ($dealId) {
|
||||
$this->db->query("UPDATE user_client_events SET calendar_view = 1 WHERE deal_id = $dealId AND calendar_view = 0");
|
||||
$this->db->query("UPDATE user_object_events SET calendar_view = 1 WHERE deal_id = $dealId AND calendar_view = 0");
|
||||
}
|
||||
}
|
||||
|
||||
// Удаление фильтра автопоиска
|
||||
|
||||
Loading…
Reference in New Issue
Block a user