feat(WorkbenchLogic): 添加财务类型和财务项目管理
This commit is contained in:
parent
2a95eb8e1f
commit
7c60652624
@ -54,11 +54,11 @@ class WorkbenchLogic extends BaseLogic
|
|||||||
$dateDiff = (new \DateTime($endTime))->diff(new \DateTime($startTime));
|
$dateDiff = (new \DateTime($endTime))->diff(new \DateTime($startTime));
|
||||||
$where = ['paid' => 1];
|
$where = ['paid' => 1];
|
||||||
$cashFinanceWhere = [];
|
$cashFinanceWhere = [];
|
||||||
$storeFinanceWhere = [];
|
$storeFinanceWhere = ['financial_type'=>11,'financial_pm'=>0];
|
||||||
if ($params['store_id'] != 0) {
|
if ($params['store_id'] != 0) {
|
||||||
$where['store_id'] = $params['store_id'];
|
$where['store_id'] = $params['store_id'];
|
||||||
$cashFinanceWhere = ['store_id' => $params['store_id']];
|
$cashFinanceWhere = ['store_id' => $params['store_id']];
|
||||||
$storeFinanceWhere = ['store_id' => $params['store_id'],'financial_type'=>11,'financial_pm'=>0];
|
$storeFinanceWhere['store_id'] = $params['store_id'];
|
||||||
}
|
}
|
||||||
$orderLogic = new StoreOrderLogic();
|
$orderLogic = new StoreOrderLogic();
|
||||||
//订单总金额
|
//订单总金额
|
||||||
|
Loading…
x
Reference in New Issue
Block a user