* [story#59894,doing,0.5h] add view old page.
This commit is contained in:
@@ -87,6 +87,16 @@ class screen extends control
|
||||
* @return void
|
||||
*/
|
||||
public function view(int $screenID, int $year = 0, int $month = 0, int $dept = 0, string $account = '')
|
||||
{
|
||||
$this->view->screenID = $screenID;
|
||||
$this->view->year = $year;
|
||||
$this->view->month = $month;
|
||||
$this->view->dept = $dept;
|
||||
$this->view->account = $account;
|
||||
$this->display();
|
||||
}
|
||||
|
||||
public function viewOld(int $screenID, int $year = 0, int $month = 0, int $dept = 0, string $account = '')
|
||||
{
|
||||
if(empty($year)) $year = date('Y');
|
||||
if(empty($month)) $month = date('n');
|
||||
|
||||
Reference in New Issue
Block a user