init
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace Stemcell\Sales\Controller\Adminhtml\Export;
|
||||
|
||||
use Magento\Framework\Exception\LocalizedException;
|
||||
|
||||
class GridToCsv extends \Magento\Ui\Controller\Adminhtml\Export\GridToCsv
|
||||
{
|
||||
/**
|
||||
* @throws LocalizedException
|
||||
*/
|
||||
public function execute()
|
||||
{
|
||||
return $this->fileFactory->create('export-'.date('YmdHis').'.xlsx', $this->converter->getCsvFile(), 'var');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user