This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Exportacao\ExameLaboratorial;
|
||||
|
||||
use App\Exports\ExameLaboratorial\ExportColetaRealizada;
|
||||
use App\Http\Controllers\Controller;
|
||||
use Maatwebsite\Excel\Facades\Excel;
|
||||
|
||||
class ExportColetaRealizadaController extends Controller
|
||||
{
|
||||
public function __invoke()
|
||||
{
|
||||
return Excel::download(new ExportColetaRealizada, 'coleta-realizada.xlsx');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Exportacao\ExameLaboratorial;
|
||||
|
||||
use App\Exports\ExameLaboratorial\ExportCotaConsumo;
|
||||
use App\Http\Controllers\Controller;
|
||||
use Maatwebsite\Excel\Facades\Excel;
|
||||
|
||||
class ExportCotaConsumoController extends Controller
|
||||
{
|
||||
public function __invoke()
|
||||
{
|
||||
return Excel::download(new ExportCotaConsumo, 'export-cota-consumo.xlsx');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Exportacao\ExameLaboratorial;
|
||||
|
||||
use App\Exports\ExameLaboratorial\ExportExameBloqueado;
|
||||
use App\Http\Controllers\Controller;
|
||||
use Maatwebsite\Excel\Facades\Excel;
|
||||
|
||||
class ExportExameBloqueadoController extends Controller
|
||||
{
|
||||
public function __invoke()
|
||||
{
|
||||
return Excel::download(new ExportExameBloqueado, 'relatorio-exame-bloqueado.xlsx');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Exportacao\ExameLaboratorial;
|
||||
|
||||
use App\Exports\ExameLaboratorial\ExportExameLaboratorioApoio;
|
||||
use App\Http\Controllers\Controller;
|
||||
use Maatwebsite\Excel\Facades\Excel;
|
||||
|
||||
class ExportExameLaboratorioApoioController extends Controller
|
||||
{
|
||||
public function __invoke()
|
||||
{
|
||||
return Excel::download(new ExportExameLaboratorioApoio, 'export-exame-laboratorio-apoio.xlsx');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Exportacao\ExameLaboratorial;
|
||||
|
||||
use App\Exports\ExameLaboratorial\ExportExameProducao;
|
||||
use App\Http\Controllers\Controller;
|
||||
use Maatwebsite\Excel\Facades\Excel;
|
||||
|
||||
class ExportExameProducaoController extends Controller
|
||||
{
|
||||
public function __invoke()
|
||||
{
|
||||
return Excel::download(new ExportExameProducao, 'exame-producao.xlsx');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Exportacao\ExameLaboratorial;
|
||||
|
||||
use App\Exports\ExameLaboratorial\ExportExameSolicitadoStatus;
|
||||
use App\Http\Controllers\Controller;
|
||||
use Maatwebsite\Excel\Facades\Excel;
|
||||
|
||||
class ExportExameSolicitadoStatusController extends Controller
|
||||
{
|
||||
public function __invoke()
|
||||
{
|
||||
return Excel::download(new ExportExameSolicitadoStatus, 'exame-solicitado-status.xlsx');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Exportacao\ExameLaboratorial;
|
||||
|
||||
use App\Exports\ExameLaboratorial\ExportFinanceiroExame;
|
||||
use App\Http\Controllers\Controller;
|
||||
use Maatwebsite\Excel\Facades\Excel;
|
||||
|
||||
class ExportFinanceiroExameController extends Controller
|
||||
{
|
||||
public function __invoke()
|
||||
{
|
||||
return Excel::download(new ExportFinanceiroExame, 'export-financeiro-exame.xlsx');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Exportacao\ExameLaboratorial;
|
||||
|
||||
use App\Exports\ExameLaboratorial\ExportFinanceiroPaciente;
|
||||
use App\Http\Controllers\Controller;
|
||||
use Illuminate\Http\Request;
|
||||
use Maatwebsite\Excel\Facades\Excel;
|
||||
|
||||
class ExportFinanceiroPacienteController extends Controller
|
||||
{
|
||||
public function __invoke(Request $request)
|
||||
{
|
||||
return Excel::download(
|
||||
new ExportFinanceiroPaciente($request->all()),
|
||||
'relatorio-financeiro-paciente.xlsx'
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Exportacao\ExameLaboratorial;
|
||||
|
||||
use App\Exports\ExameLaboratorial\ExportHistoricoPaciente;
|
||||
use App\Http\Controllers\Controller;
|
||||
use Maatwebsite\Excel\Facades\Excel;
|
||||
|
||||
class ExportHistoricoPacienteController extends Controller
|
||||
{
|
||||
public function __invoke()
|
||||
{
|
||||
return Excel::download(new ExportHistoricoPaciente, 'export-historico-paciente.xlsx');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Exportacao\ExameLaboratorial;
|
||||
|
||||
use App\Exports\ExameLaboratorial\ExportPacienteAtendido;
|
||||
use App\Http\Controllers\Controller;
|
||||
use Maatwebsite\Excel\Facades\Excel;
|
||||
|
||||
class ExportPacienteAtendidoController extends Controller
|
||||
{
|
||||
public function __invoke()
|
||||
{
|
||||
return Excel::download(new ExportPacienteAtendido, 'relatorio-paciente-atendido.xlsx');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Exportacao\ExameLaboratorial;
|
||||
|
||||
use App\Exports\ExameLaboratorial\ExportQuantitativoExameSolicitado;
|
||||
use App\Http\Controllers\Controller;
|
||||
use Maatwebsite\Excel\Facades\Excel;
|
||||
|
||||
class ExportQuantitativoExameSolicitadoController extends Controller
|
||||
{
|
||||
public function __invoke()
|
||||
{
|
||||
return Excel::download(new ExportQuantitativoExameSolicitado, 'quantitativo-exame-solicitado.xlsx');
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Exportacao\ExameLaboratorial;
|
||||
|
||||
use App\Exports\ExameLaboratorial\ExportQuantitativoProducao;
|
||||
use App\Http\Controllers\Controller;
|
||||
use Maatwebsite\Excel\Facades\Excel;
|
||||
|
||||
class ExportQuantitativoProducaoController extends Controller
|
||||
{
|
||||
public function __invoke()
|
||||
{
|
||||
return Excel::download(new ExportQuantitativoProducao, 'quantitativo-producao.xlsx');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user