customer defeat info
This commit is contained in:
@@ -67,6 +67,7 @@ class Customers extends Wxapp
|
||||
$visit_time = $this->get_visit_time($where_visit);
|
||||
$visit_time && $other_data['计划回访时间'] = $visit_time;
|
||||
$other_data['销售顾问'] = isset($admin) ? $admin['uname'] : '';
|
||||
$jsondata = $row['jsondata'] ? json_decode($row['jsondata'], true) : array();
|
||||
$data = [
|
||||
'id' => $row['id'],
|
||||
'name' => $row['name'],
|
||||
@@ -75,6 +76,7 @@ class Customers extends Wxapp
|
||||
'tip' => $tip,
|
||||
'is_top' => $row['is_top'],
|
||||
'status' => $row['status'],
|
||||
'defeat' => $jsondata['defeat'],
|
||||
'other_data' => $other_data,
|
||||
'is_weChat' => $row['wxqy'] == 1 ? true : false,
|
||||
'generate_order' => $this->myuid == $row['admin_id'] ? true : false,
|
||||
|
||||
Reference in New Issue
Block a user