This commit is contained in:
21
api/app/Exports/Almoxarifado/Relatorios/Entrada.php
Normal file
21
api/app/Exports/Almoxarifado/Relatorios/Entrada.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Exports\Almoxarifado\Relatorios;
|
||||
|
||||
use App\Services\Almoxarifado\Relatorios\EntradaService;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Maatwebsite\Excel\Concerns\FromView;
|
||||
|
||||
class Entrada implements FromView
|
||||
{
|
||||
private const TITLE = 'RELATÓRIO DE ENTRADA';
|
||||
private const VIEW = 'exportacoes.almoxarifado.relatorios.entrada';
|
||||
|
||||
public function view(): View
|
||||
{
|
||||
$data = EntradaService::getPrintExportData();
|
||||
$data['title'] = self::TITLE;
|
||||
|
||||
return view(self::VIEW, $data);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user