27 lines
713 B
PHP
27 lines
713 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
namespace Esun\CustomerVat\Controller\Adminhtml\Application;
|
|
|
|
use Magento\Backend\App\Action;
|
|
use Magento\Backend\App\Action\Context;
|
|
use Magento\Framework\View\Result\PageFactory;
|
|
|
|
class Index extends Action
|
|
{
|
|
public const ADMIN_RESOURCE = 'Esun_CustomerVat::applications';
|
|
|
|
public function __construct(Context $context, private readonly PageFactory $pageFactory)
|
|
{
|
|
parent::__construct($context);
|
|
}
|
|
|
|
public function execute()
|
|
{
|
|
$page = $this->pageFactory->create();
|
|
$page->setActiveMenu('Esun_CustomerVat::applications');
|
|
$page->getConfig()->getTitle()->prepend(__('VAT Number Applications'));
|
|
return $page;
|
|
}
|
|
}
|