Commit f76cadb6 authored by hujun's avatar hujun

税费去除状态查询

parent 02223426
......@@ -1342,7 +1342,7 @@ class Finance extends Basic
$pageSize = empty($this->params['pageSize']) ? 15 : $this->params['pageSize'];
$where['c.is_del'] = 0;
$where['b.status'] = [ 'in', [ 10, 11, 13 ] ]; //10已提交 11审核成功
// $where['b.status'] = [ 'in', [ 10, 11, 13 ] ]; //10已提交 11审核成功
$where['a.father_id'] = [ 'neq', 0 ];
if (!empty($this->params['create_time']) && empty($this->params['end_time'])) {
$where['a.operation_date'] = [ '> time', $this->params['create_time'] . ' 00:00:00' ];
......@@ -1502,7 +1502,7 @@ class Finance extends Basic
$m_tax = new OTaxes();
$taxes_where['a.father_id'] = ['>', 0];
$taxes_where['is_del'] = 0;
$taxes_where['b.status'] = ['IN', '10,11,13'];
// $taxes_where['b.status'] = ['IN', '10,11,13'];
$taxes_where['a.operation_date'] = ['between', [$operation_start_data, $operation_end_data]];
$data['data']['total_taxes'] = $m_tax->sumBargainFee('a.fee', $taxes_where);;
......
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