24 lines
681 B
PHP
24 lines
681 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers\Impressao\Farmacia;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
use App\Services\Farmacia\RelatorioAltoCustoRetiradaPendenteService;
|
|
use App\Utils\Exports\Pdf1;
|
|
|
|
class RelatorioAltoCustoRetiradaPendenteController extends Controller
|
|
{
|
|
private const TITLE = 'ALTO CUSTO - RELATÓRIO DE RETIRADA PENDENTE';
|
|
private const TEMPLATE = 'farmacia.relatorio-alto-custo-retirada-pendente';
|
|
|
|
public static function getTemplate()
|
|
{
|
|
return RelatorioAltoCustoRetiradaPendenteService::getPrintExportData();
|
|
}
|
|
|
|
public function __invoke()
|
|
{
|
|
return Pdf1::generate(self::TITLE, self::TEMPLATE, self::getTemplate());
|
|
}
|
|
}
|