fix
This commit is contained in:
@@ -668,7 +668,7 @@ $data = $this->getSessionArray();
|
||||
|
||||
|
||||
|
||||
$sqlMsg = "SELECT to_char(jc.created, 'YYYY-MM-DD HH24:MI') AS date1, '<b>'||(CASE WHEN jc.msg_type='FILE' THEN 'FILE' ELSE '' END) ||'</b>'||m.firstname AS title,"
|
||||
$sqlMsg = "SELECT to_char(jc.created, 'YYYY-MM-DD HH24:MI') AS date1, '<b>'||(CASE WHEN jc.msg_type='FILE' THEN 'FILE' ELSE '' END) ||'</b>'||m.firstname AS title,jc.id as msg_id,"
|
||||
. "(CASE WHEN jc.msg_type='FILE' THEN '<a target=\"_blank\" href=\"/smedia/" . ($is_live ? "LIVE" : "TEST") . "/contract/" . $data['contract_id'] . "/'||jc.message||'\">'||jc.message||'</a>' ELSE jc.message END) AS msg "
|
||||
. "FROM jobs_contract_message jc "
|
||||
. "LEFT JOIN members m ON m.id=jc.member_id "
|
||||
@@ -685,7 +685,7 @@ $data = $this->getSessionArray();
|
||||
|
||||
$data['message_result'] = $query_message->result();
|
||||
|
||||
$data['message_result_show'] = $this->messageAccordion($data['message_result']);
|
||||
// $data['message_result_show'] = $this->messageAccordion($data['message_result']);
|
||||
|
||||
|
||||
$mysql3 = "SELECT *,(delivery_date::date- now()::date)::int AS remaining_days FROM members_jobs_contract WHERE id= " . $jobID;
|
||||
|
||||
Reference in New Issue
Block a user