This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exports\TransportePaciente\Relatorios;
|
||||
|
||||
use App\Services\TransportePaciente\Relatorios\RelatorioQuantitativoService;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Maatwebsite\Excel\Concerns\FromView;
|
||||
|
||||
class Quantitativo implements FromView
|
||||
{
|
||||
private const TITLE = 'RELATÓRIO QUANTITATIVO DE VIAGEM';
|
||||
private const VIEW = 'exportacoes.transporte-paciente.relatorios.quantitativo';
|
||||
|
||||
public function view(): View
|
||||
{
|
||||
$data = RelatorioQuantitativoService::getPrintExportData();
|
||||
$data['title'] = self::TITLE;
|
||||
|
||||
return view(self::VIEW, $data);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user