From aaf3c65aecc77954661a764ad71117a01c19fa5d Mon Sep 17 00:00:00 2001 From: tianshujie98 Date: Thu, 17 Dec 2020 10:00:11 +0800 Subject: [PATCH] * Fix bug. --- module/company/control.php | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/module/company/control.php b/module/company/control.php index f71cea1b2e..7fc3d5bf5c 100644 --- a/module/company/control.php +++ b/module/company/control.php @@ -243,17 +243,18 @@ class company extends control $this->loadModel('search')->setSearchParams($this->config->company->dynamic->search); /* Assign. */ - $this->view->browseType = $browseType; - $this->view->account = $account; - $this->view->product = $product; - $this->view->project = $project; - $this->view->queryID = $queryID; - $this->view->orderBy = $orderBy; - $this->view->pager = $pager; - $this->view->user = $user; - $this->view->param = $param; - $this->view->dateGroups = $this->action->buildDateGroup($actions, $direction, $browseType); - $this->view->direction = $direction; + $this->view->browseType = $browseType; + $this->view->account = $account; + $this->view->accountPairs = $accountPairs; + $this->view->product = $product; + $this->view->project = $project; + $this->view->queryID = $queryID; + $this->view->orderBy = $orderBy; + $this->view->pager = $pager; + $this->view->user = $user; + $this->view->param = $param; + $this->view->dateGroups = $this->action->buildDateGroup($actions, $direction, $browseType); + $this->view->direction = $direction; $this->display(); } }