|
9 | 9 |
|
10 | 10 | class Creditmemos extends \Magento\Sales\Controller\Adminhtml\Order
|
11 | 11 | {
|
12 |
| - /** |
13 |
| - * @var \Magento\Framework\View\Result\LayoutFactory |
14 |
| - */ |
15 |
| - protected $resultLayoutFactory; |
16 |
| - |
17 |
| - /** |
18 |
| - * @param Action\Context $context |
19 |
| - * @param \Magento\Framework\Registry $coreRegistry |
20 |
| - * @param \Magento\Framework\App\Response\Http\FileFactory $fileFactory |
21 |
| - * @param \Magento\Framework\Translate\InlineInterface $translateInline |
22 |
| - * @param \Magento\Framework\View\Result\PageFactory $resultPageFactory |
23 |
| - * @param \Magento\Backend\Model\View\Result\RedirectFactory $resultRedirectFactory |
24 |
| - * @param \Magento\Framework\View\Result\LayoutFactory $resultLayoutFactory |
25 |
| - * @param \Magento\Framework\Controller\Result\JSONFactory $resultJsonFactory |
26 |
| - * @param \Magento\Framework\Controller\Result\RawFactory $resultRawFactory |
27 |
| - */ |
28 |
| - public function __construct( |
29 |
| - Action\Context $context, |
30 |
| - \Magento\Framework\Registry $coreRegistry, |
31 |
| - \Magento\Framework\App\Response\Http\FileFactory $fileFactory, |
32 |
| - \Magento\Framework\Translate\InlineInterface $translateInline, |
33 |
| - \Magento\Framework\View\Result\PageFactory $resultPageFactory, |
34 |
| - \Magento\Backend\Model\View\Result\RedirectFactory $resultRedirectFactory, |
35 |
| - \Magento\Framework\View\Result\LayoutFactory $resultLayoutFactory, |
36 |
| - \Magento\Framework\Controller\Result\JSONFactory $resultJsonFactory, |
37 |
| - \Magento\Framework\Controller\Result\RawFactory $resultRawFactory |
38 |
| - ) { |
39 |
| - $this->resultLayoutFactory = $resultLayoutFactory; |
40 |
| - parent::__construct( |
41 |
| - $context, |
42 |
| - $coreRegistry, |
43 |
| - $fileFactory, |
44 |
| - $translateInline, |
45 |
| - $resultPageFactory, |
46 |
| - $resultRedirectFactory, |
47 |
| - $resultJsonFactory, |
48 |
| - $resultLayoutFactory, |
49 |
| - $resultRawFactory |
50 |
| - ); |
51 |
| - } |
52 |
| - |
53 | 12 | /**
|
54 | 13 | * Generate credit memos grid for ajax request
|
55 | 14 | *
|
|
0 commit comments