22 lines
620 B
PHP
22 lines
620 B
PHP
<?php
|
|
|
|
namespace App\Exports\Farmacia;
|
|
|
|
use App\Services\Farmacia\RelatorioAltoCustoRetiradaPendenteService;
|
|
use Illuminate\Contracts\View\View;
|
|
use Maatwebsite\Excel\Concerns\FromView;
|
|
|
|
class RelatorioAltoCustoRetiradaPendente implements FromView
|
|
{
|
|
private const TITLE = 'ALTO CUSTO - RELATÓRIO DE RETIRADA PENDENTE';
|
|
private const VIEW = 'exportacoes.farmacia.relatorio-alto-custo-retirada-pendente';
|
|
|
|
public function view(): View
|
|
{
|
|
$data = RelatorioAltoCustoRetiradaPendenteService::getPrintExportData();
|
|
$data['title'] = self::TITLE;
|
|
|
|
return view(self::VIEW, $data);
|
|
}
|
|
}
|