Commit 8bcc167d authored by hujun's avatar hujun

open_time

parent e296ab30
......@@ -2913,6 +2913,24 @@ class Finance extends Basic
$is_show = 1;
}
/*入账日期 end*/
/*收款确认日期 start*/
if (!empty($this->params['open_start_time']) && empty($this->params['open_end_time'])) {
$where['a.open_time'] = ['> time', $this->params['open_start_time'] . ' 00:00:00'];
$is_show = 1;
}
if (!empty($this->params['open_end_time']) && empty($this->params['open_start_time'])) {
$where['a.open_time'] = ['< time', $this->params['open_end_time'] . ' 23:59:59'];
$is_show = 1;
}
if (!empty($this->params['open_end_time']) && !empty($this->params['open_start_time'])) {
$where['a.open_time'] = ['between time', [
$this->params['open_start_time'] . ' 00:00:00', $this->params['open_end_time'] . ' 23:59:59'
]];
$is_show = 1;
}
/*入账日期 end*/
//商铺地址
if (!empty($this->params['internal_address'])) {
......
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