21 lines
515 B
PHP
21 lines
515 B
PHP
<?php
|
|
|
|
use KupShop\KupShopBundle\Util\Compat\ServiceContainer;
|
|
use KupShop\ReclamationsBundle\Util\ReclamationsUtil;
|
|
|
|
class ReclamationsMenu extends Menu
|
|
{
|
|
public function get_vars()
|
|
{
|
|
$vars = parent::get_vars();
|
|
|
|
/** @var ReclamationsUtil $reclamations */
|
|
$reclamations = ServiceContainer::getService(ReclamationsUtil::class);
|
|
|
|
$vars['statuses'] = $reclamations->getStatuses();
|
|
$vars['handle_types'] = $reclamations->getHandleTypes();
|
|
|
|
return $vars;
|
|
}
|
|
}
|