mirror of
https://github.com/Karaka-Management/oms-Marketing.git
synced 2026-02-16 01:58:40 +00:00
Went through todos
This commit is contained in:
parent
865ea7c1e2
commit
bfcaa819e3
|
|
@ -27,6 +27,9 @@ use phpOMS\Stdlib\Base\FloatInt;
|
||||||
* @license OMS License 2.0
|
* @license OMS License 2.0
|
||||||
* @link https://jingga.app
|
* @link https://jingga.app
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
|
*
|
||||||
|
* @todo Promotion type (somehow use for cost center)
|
||||||
|
* https://github.com/Karaka-Management/oms-Marketing/issues/4
|
||||||
*/
|
*/
|
||||||
class Promotion
|
class Promotion
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -12,11 +12,6 @@
|
||||||
*/
|
*/
|
||||||
declare(strict_types=1);
|
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'];
|
$list = $this->data['promotions'];
|
||||||
|
|
||||||
echo $this->data['nav']->render(); ?>
|
echo $this->data['nav']->render(); ?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user