This commit is contained in:
17
api/app/Exports/Ambulatorio/RelatorioProcedimento.php
Normal file
17
api/app/Exports/Ambulatorio/RelatorioProcedimento.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exports\Ambulatorio;
|
||||
|
||||
use App\Http\Controllers\Impressao\Ambulatorio\RelatorioProcedimentoController;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Maatwebsite\Excel\Concerns\FromView;
|
||||
|
||||
class RelatorioProcedimento implements FromView
|
||||
{
|
||||
public function view(): View
|
||||
{
|
||||
$data = RelatorioProcedimentoController::getTemplate();
|
||||
|
||||
return view('exportacoes.ambulatorio.relatorio-procedimento', $data);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user