22 lines
522 B
PHP
22 lines
522 B
PHP
<?php
|
|
|
|
namespace App\Exports\Almoxarifado\Relatorios;
|
|
|
|
use App\Services\Almoxarifado\Relatorios\SaidaService;
|
|
use Illuminate\Contracts\View\View;
|
|
use Maatwebsite\Excel\Concerns\FromView;
|
|
|
|
class Saida implements FromView
|
|
{
|
|
private const TITLE = 'RELATÓRIO DE SAÍDAS';
|
|
private const VIEW = 'exportacoes.almoxarifado.relatorios.saida';
|
|
|
|
public function view(): View
|
|
{
|
|
$data = SaidaService::getPrintExportData();
|
|
$data['title'] = self::TITLE;
|
|
|
|
return view(self::VIEW, $data);
|
|
}
|
|
}
|