From d86b67f6dee6cdfade67b4ebd7afae97a0801a8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=B5=9C=EC=A4=80=ED=9D=A0?= Date: Wed, 9 Apr 2025 16:21:23 +0900 Subject: [PATCH] dbms_primeidc_init...1 --- extdbms/lib/Controllers/DBMS/Client/PaymentController.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/extdbms/lib/Controllers/DBMS/Client/PaymentController.php b/extdbms/lib/Controllers/DBMS/Client/PaymentController.php index 3bcecdd..76cb607 100644 --- a/extdbms/lib/Controllers/DBMS/Client/PaymentController.php +++ b/extdbms/lib/Controllers/DBMS/Client/PaymentController.php @@ -90,10 +90,9 @@ class PaymentController extends ClientController $this->getServiceService()->getModel()->setContinue(true); $this->total = $this->getServiceService()->getCount(); $this->entities = $this->getServiceService()->getEntities(); - // $total = count($temps); - // $page = $parmas['page'] ?? 1; - // $perPage = $parmas['perPage'] ?? 10; - // $this->pagination = new Pagination($total, (int)$page, (int)$perPage); + $this->page = $parmas['page'] ?? 1; + $this->perPage = $parmas['perPage'] ?? 10; + $this->pagination = new Pagination($this->total, (int)$this->page, (int)$this->perPage); return $this->render(path: __FUNCTION__); } } //Class