grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026bean->status = ''; } //if if (!empty($_REQUEST['status']) && ($_REQUEST['status'] == 'Held')) { $this->bean->status = 'Held'; } parent::preDisplay(); } /** * @see SugarView::display() */ public function display() { global $json; $json = getJSONobj(); $json_config = new json_config(); if (isset($this->bean->json_id) && !empty($this->bean->json_id)) { $javascript = $json_config->get_static_json_server(false, true, 'Calls', $this->bean->json_id); } else { $this->bean->json_id = $this->bean->id; $javascript = $json_config->get_static_json_server(false, true, 'Calls', $this->bean->id); } $this->ss->assign('JSON_CONFIG_JAVASCRIPT', $javascript); $this->ss->assign('remindersData', Reminder::loadRemindersData('Calls', $this->bean->id, $this->ev->isDuplicate)); $this->ss->assign('remindersDataJson', Reminder::loadRemindersDataJson('Calls', $this->bean->id, $this->ev->isDuplicate)); $this->ss->assign('remindersDefaultValuesDataJson', Reminder::loadRemindersDefaultValuesDataJson()); $this->ss->assign('remindersDisabled', json_encode(false)); if ($this->ev->isDuplicate) { $this->bean->status = $this->bean->getDefaultStatus(); } //if parent::display(); } }