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