* [task#134889,doing,0.5h].
This commit is contained in:
@@ -116,6 +116,11 @@ class report extends control
|
||||
/* Assign annual data. */
|
||||
$this->reportZen->assignAnnualReport($year, $dept, $account);
|
||||
|
||||
$mode = 'company';
|
||||
if((int)$dept && empty($account)) $mode = 'dept';
|
||||
if($account) $mode = 'user';
|
||||
|
||||
$this->view->mode = $mode;
|
||||
$this->view->account = $account;
|
||||
$this->display();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user