23 lines
594 B
PHP
23 lines
594 B
PHP
<?php
|
|
|
|
namespace App\Exports\ExameLaboratorial;
|
|
|
|
use App\Services\ExameLaboratorial\RelatorioQuantitativoProducaoService;
|
|
use Illuminate\Contracts\View\View;
|
|
use Maatwebsite\Excel\Concerns\FromView;
|
|
|
|
class ExportQuantitativoProducao implements FromView
|
|
{
|
|
|
|
private const TITLE = 'RELATÓRIO QUANTITATIVO DE PRODUÇÃO';
|
|
private const VIEW = 'exportacoes.exame-laboratorial.quantitativo-producao';
|
|
|
|
public function view(): View
|
|
{
|
|
$data = RelatorioQuantitativoProducaoService::index();
|
|
$data['title'] = self::TITLE;
|
|
|
|
return view(self::VIEW, $data);
|
|
}
|
|
}
|