22 lines
589 B
PHP
22 lines
589 B
PHP
<?php
|
|
|
|
namespace App\Exports\Imunizacao;
|
|
|
|
use App\Services\Imunizacao\RelatorioFaltosoAprazamentoService;
|
|
use Illuminate\Contracts\View\View;
|
|
use Maatwebsite\Excel\Concerns\FromView;
|
|
|
|
class RelatorioFaltosoAprazamento implements FromView
|
|
{
|
|
private const TITLE = 'RELATÓRIO DE FALTOSOS E APRAZAMENTOS';
|
|
private const VIEW = 'exportacoes.imunizacao.relatorio-faltoso-aprazamento';
|
|
|
|
public function view(): View
|
|
{
|
|
$data = RelatorioFaltosoAprazamentoService::getPrintExportData();
|
|
$data['title'] = self::TITLE;
|
|
|
|
return view(self::VIEW, $data);
|
|
}
|
|
}
|