22 lines
598 B
PHP
22 lines
598 B
PHP
<?php
|
|
|
|
namespace App\Exports\AtencaoBasica;
|
|
|
|
use App\Services\AtencaoBasica\RelatorioInconsistencia\RelatorioInconsistenciaService;
|
|
use Illuminate\Contracts\View\View;
|
|
use Maatwebsite\Excel\Concerns\FromView;
|
|
|
|
class RelatorioInconsistencia implements FromView
|
|
{
|
|
private const TITLE = 'RELATÓRIO DE INCONSISTÊNCIA';
|
|
private const VIEW = 'exportacoes.atencao-basica.relatorio-inconsistencia';
|
|
|
|
public function view(): View
|
|
{
|
|
$data = RelatorioInconsistenciaService::getPrintExportData();
|
|
$data['title'] = self::TITLE;
|
|
|
|
return view(self::VIEW, $data);
|
|
}
|
|
}
|