From bfcaa819e3718ddc64aa6445f91b308426e9cc5d Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Thu, 2 May 2024 22:54:38 +0000 Subject: [PATCH] Went through todos --- Models/Promotion.php | 3 +++ Theme/Backend/promotion-list.tpl.php | 5 ----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Models/Promotion.php b/Models/Promotion.php index 24bebc9..9dc1b3d 100755 --- a/Models/Promotion.php +++ b/Models/Promotion.php @@ -27,6 +27,9 @@ use phpOMS\Stdlib\Base\FloatInt; * @license OMS License 2.0 * @link https://jingga.app * @since 1.0.0 + * + * @todo Promotion type (somehow use for cost center) + * https://github.com/Karaka-Management/oms-Marketing/issues/4 */ class Promotion { diff --git a/Theme/Backend/promotion-list.tpl.php b/Theme/Backend/promotion-list.tpl.php index 326fdb8..76278cf 100755 --- a/Theme/Backend/promotion-list.tpl.php +++ b/Theme/Backend/promotion-list.tpl.php @@ -12,11 +12,6 @@ */ declare(strict_types=1); -$footerView = new \phpOMS\Views\PaginationView($this->l11nManager, $this->request, $this->response); -$footerView->setTemplate('/Web/Templates/Lists/Footer/PaginationBig'); -$footerView->setPages(20); -$footerView->setPage(1); - $list = $this->data['promotions']; echo $this->data['nav']->render(); ?>