Files
Antonio Lopes dos Santos afec302c3e
All checks were successful
build-api-image / build (push) Successful in 51s
init commit
2026-08-04 16:52:02 -03:00

22 lines
580 B
PHP

<?php
namespace App\Exports\Almoxarifado\Relatorios;
use App\Services\Almoxarifado\Relatorios\ValidadeMaterialService;
use Illuminate\Contracts\View\View;
use Maatwebsite\Excel\Concerns\FromView;
class ValidadeMaterial implements FromView
{
private const TITLE = 'RELATÓRIO DE VALIDADE DE MATERIAL';
private const VIEW = 'exportacoes.almoxarifado.relatorios.validade-material';
public function view(): View
{
$data = ValidadeMaterialService::getPrintExportData();
$data['title'] = self::TITLE;
return view(self::VIEW, $data);
}
}