dbms_primeidc_init...1
This commit is contained in:
parent
30cc37fcdc
commit
a07f8bf2e9
@ -51,8 +51,8 @@ class PaymentController extends ClientController
|
||||
//mode 당일,1일전,2일전,3일전,custom
|
||||
$today = date("Y-m-d");;
|
||||
$mode = $params['mode'] ?? $this->getRequest()->get('mode') ?? 'all';
|
||||
$curPage = intval($params['curPage'] ?? $this->getRequest()->get('mode') ?? 1);
|
||||
$perPage = intval($params['perPage'] ?? $this->getRequest()->get('mode') ?? VIEW_LIST_PERPAGE);
|
||||
$curPage = intval($params['curPage'] ?? $this->getRequest()->get('curPage') ?? 1);
|
||||
$perPage = intval($params['perPage'] ?? $this->getRequest()->get('perPage') ?? VIEW_LIST_PERPAGE);
|
||||
switch ($mode) {
|
||||
case 'today':
|
||||
$this->getServiceService()->getModel()->where("service_payment_date = CURDATE()");
|
||||
@ -95,7 +95,7 @@ class PaymentController extends ClientController
|
||||
$this->entities = $this->getServiceService()->getEntities();
|
||||
$this->curPage = $curPage;
|
||||
$this->perPage = $perPage;
|
||||
$this->pagination = new Pagination($this->total, (int)$curPage, (int)$this->perPage);
|
||||
$this->pagination = new Pagination($this->total, (int)$this->curPage, (int)$this->perPage);
|
||||
return $this->render(path: __FUNCTION__);
|
||||
}
|
||||
} //Class
|
||||
|
||||
Loading…
Reference in New Issue
Block a user