22 lines
548 B
PHP
22 lines
548 B
PHP
<?php
|
|
|
|
namespace App\Exports\Almoxarifado\Relatorios;
|
|
|
|
use App\Services\Almoxarifado\Relatorios\RequisicaoService;
|
|
use Illuminate\Contracts\View\View;
|
|
use Maatwebsite\Excel\Concerns\FromView;
|
|
|
|
class Requisicao implements FromView
|
|
{
|
|
private const TITLE = 'RELATÓRIO DE REQUISIÇÕES';
|
|
private const VIEW = 'exportacoes.almoxarifado.relatorios.requisicao';
|
|
|
|
public function view(): View
|
|
{
|
|
$data = RequisicaoService::getPrintExportData();
|
|
$data['title'] = self::TITLE;
|
|
|
|
return view(self::VIEW, $data);
|
|
}
|
|
}
|