From a07f8bf2e9eec93406047794f5c1024ad640dc1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A4=80=ED=9D=A0?= Date: Thu, 10 Apr 2025 11:20:31 +0900 Subject: [PATCH] dbms_primeidc_init...1 --- extdbms/lib/Controllers/DBMS/Client/PaymentController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/extdbms/lib/Controllers/DBMS/Client/PaymentController.php b/extdbms/lib/Controllers/DBMS/Client/PaymentController.php index cc7d6ba..512b763 100644 --- a/extdbms/lib/Controllers/DBMS/Client/PaymentController.php +++ b/extdbms/lib/Controllers/DBMS/Client/PaymentController.php @@ -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