Commit 23931417 by Rezha Setyo Atmojo Committed by nurchamim

modul: Bug Kanban Sales

status: selesai
keterangan:
- bug nama lead source tidak terupdate
parent 85432b19
......@@ -123,13 +123,16 @@ class Kanban_detail extends MY_Controller
]);
}
$nama_lead_source = $this->db->select('nama')->where(['id_company' => $this->id_company, 'id_lead_m' => $lead_source])->get('sales_lead_m')->row()->nama;
$data_pipeline_main = [
'id_lead_m' => $lead_source,
'pic_nama' => ($jenis_pelanggan == 'perorangan') ? $pelanggan : $nama_pic,
'pic_email' => $email_pic,
'pic_telp' => $telp_pic,
'title' => $title,
'keterangan' => $keterangan
'id_lead_m' => $lead_source,
'nama_lead_source' => $nama_lead_source,
'pic_nama' => ($jenis_pelanggan == 'perorangan') ? $pelanggan : $nama_pic,
'pic_email' => $email_pic,
'pic_telp' => $telp_pic,
'title' => $title,
'keterangan' => $keterangan
];
$this->model->update_perusahaan($data_pelanggan, $data_pipeline_main, $id, $id_pelanggan_update);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment