22 lines
582 B
PHP
22 lines
582 B
PHP
<?php
|
|
|
|
namespace App\Exports\Almoxarifado\Relatorios;
|
|
|
|
use App\Services\Almoxarifado\Relatorios\ConsumoFinanceiroService;
|
|
use Illuminate\Contracts\View\View;
|
|
use Maatwebsite\Excel\Concerns\FromView;
|
|
|
|
class ConsumoFinanceiro implements FromView
|
|
{
|
|
private const TITLE = 'RELATÓRIO DE CONSUMO FINANCEIRO';
|
|
private const VIEW = 'exportacoes.almoxarifado.relatorios.consumo-financeiro';
|
|
|
|
public function view(): View
|
|
{
|
|
$data = ConsumoFinanceiroService::getPrintExportData();
|
|
$data['title'] = self::TITLE;
|
|
|
|
return view(self::VIEW, $data);
|
|
}
|
|
}
|