* [task#134889,doing,0.5h].

This commit is contained in:
songchenxuan
2024-12-18 16:37:54 +08:00
committed by 周鑫
parent b6320bb8b2
commit c98eb23e4d
+5
View File
@@ -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();
}