@extends('layouts.app') @section('titulo', $titulo) @section('subtitulo', $subtitulo ?? 'Relatórios') @section('acoes') @php $queryExport = array_filter($filtros); @endphp Exportar PDF Exportar Excel @endsection @section('conteudo')
@if ($tipo === 'pedidos' || $tipo === 'comissoes')
@endif @if ($tipo === 'financeiro')
@endif @if ($tipo === 'faturamento')
@endif
@if (!empty($totais))
@foreach ($totais as $label => $valor)
{{ $label }}
{{ $valor }}
@endforeach
@endif
@if (empty($linhas))

Nenhum registro encontrado para os filtros selecionados.

@else
@foreach ($colunas as $coluna) @endforeach @foreach ($linhas as $linha) @foreach ($colunas as $coluna) @endforeach @endforeach
{{ $coluna['label'] }}
{{ $linha[$coluna['key']] ?? '' }}
@endif
@endsection