1
0
mirror of synced 2024-11-29 00:25:30 +03:00
magento-module/Controller/Adminhtml/System/Config/Button.php
Alex Lushpai f4000c9874 v2.0
2017-05-31 15:24:46 +03:00

30 lines
691 B
PHP

<?php
namespace Retailcrm\Retailcrm\Controller\Adminhtml\System\Config;
class Button extends \Magento\Backend\App\Action
{
/**
* @var \Psr\Log\LoggerInterface
*/
protected $_logger;
/**
* @param \Magento\Backend\App\Action\Context $context
* @param \Psr\Log\LoggerInterface $logger
*/
public function __construct(
\Magento\Backend\App\Action\Context $context,
\Psr\Log\LoggerInterface $logger
) {
$this->_logger = $logger;
parent::__construct($context);
}
public function execute()
{
$order = new \Retailcrm\Retailcrm\Model\Order\OrderNumber();
$order->ExportOrderNumber();
}
}