Commit 74514500 authored by zw's avatar zw

案场权限人默认有收款跟进退款成交报告权限

parent 04cccde7
......@@ -136,11 +136,11 @@ class Report extends Basic
//todo 判断是不是案场权限人
$agentToHouseModel = new GHousesToAgents();
$params["houses_id"] = $house_id;
$params["agents_id"] = $agent_id;
$params["type"] = 1;
$params["is_del"] = 1;
$isCase = $agentToHouseModel->getHouseToAgents("id", $params);
$where_["houses_id"] = $house_id;
$where_["agents_id"] = $agent_id;
$where_["type"] = 1;
$where_["is_del"] = 1;
$isCase = $agentToHouseModel->getHouseToAgents("id", $where_);
$result["marchIn"] = $result["collectingBill"] = $result["refund"] = $result["bargain"] = false;
......
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