22 lines
562 B
PHP
22 lines
562 B
PHP
<?php
|
|
|
|
namespace App\Exports\Almoxarifado\Relatorios;
|
|
|
|
use App\Services\Almoxarifado\Relatorios\EstornoSaidaService;
|
|
use Illuminate\Contracts\View\View;
|
|
use Maatwebsite\Excel\Concerns\FromView;
|
|
|
|
class EstornoSaida implements FromView
|
|
{
|
|
private const TITLE = 'RELATÓRIO DE ESTORNO DE SAÍDAS';
|
|
private const VIEW = 'exportacoes.almoxarifado.relatorios.estorno-saida';
|
|
|
|
public function view(): View
|
|
{
|
|
$data = EstornoSaidaService::getPrintExportData();
|
|
$data['title'] = self::TITLE;
|
|
|
|
return view(self::VIEW, $data);
|
|
}
|
|
}
|