This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exports\Farmacia;
|
||||
|
||||
use App\Services\Farmacia\RelatorioAltoCustoRetiradaPendenteService;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Maatwebsite\Excel\Concerns\FromView;
|
||||
|
||||
class RelatorioAltoCustoRetiradaPendente implements FromView
|
||||
{
|
||||
private const TITLE = 'ALTO CUSTO - RELATÓRIO DE RETIRADA PENDENTE';
|
||||
private const VIEW = 'exportacoes.farmacia.relatorio-alto-custo-retirada-pendente';
|
||||
|
||||
public function view(): View
|
||||
{
|
||||
$data = RelatorioAltoCustoRetiradaPendenteService::getPrintExportData();
|
||||
$data['title'] = self::TITLE;
|
||||
|
||||
return view(self::VIEW, $data);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user