Commit fb51f2ce authored by hujun's avatar hujun

[0]

parent 68ea2424
...@@ -2589,8 +2589,8 @@ class Finance extends Basic ...@@ -2589,8 +2589,8 @@ class Finance extends Basic
if ($v['type'] == 92) { if ($v['type'] == 92) {
//案场费 对应业务员:盘方 //案场费 对应业务员:盘方
$current_agent_name = $m_agent_house->getHousesAgents($v['house_id'], 'b.name,b.store_id', ['a.type'=>2]); $current_agent_name = $m_agent_house->getHousesAgents($v['house_id'], 'b.name,b.store_id', ['a.type'=>2]);
$list[$k]['current_agent_name'] = empty($current_agent_name['name']) ? '':$current_agent_name['name']; $list[$k]['current_agent_name'] = empty($current_agent_name[0]['name']) ? '':$current_agent_name[0]['name'];
$store_name = $m_store->getStoreKeyById('store_name', ['id'=>$current_agent_name['store_id']]); $store_name = $m_store->getStoreKeyById('store_name', ['id'=>$current_agent_name[0]['store_id']]);
$list[$k]['store_name'] = empty($store_name)? '' : $store_name; $list[$k]['store_name'] = empty($store_name)? '' : $store_name;
} }
......
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