Commit 013549a3 authored by hujun's avatar hujun

bargain_id

parent 93d6b72f
......@@ -1201,6 +1201,10 @@ class Finance extends Basic
$where['b.house_number'] = [ 'like', '%' . $this->params['house_number'] . '%' ];
}
if (!empty($this->params['bargain_id'])) {
$where['b.id'] = $this->params['bargain_id'];
}
$m_fee = new OTaxes();
$fields = 'a.id,a.operation_date,e.name,e.phone,a.fee,b.house_number,d.internal_address,a.agent_id,b.father_id,b.id as bargain_id,b.order_id';
if ($this->params['excel'] != 1) {
......
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