@if(isset($dados) && $dados->isNotEmpty())
{{ $coluna['label'] }} | @endforeach
---|
@if(isset($coluna['format'])) @switch($coluna['format']) @case('currency') R$ {{ number_format($item->{$key} ?? 0, 2, ',', '.') }} @break @case('date') {{ $item->{$key} ? \Carbon\Carbon::parse($item->{$key})->format('d/m/Y') : '-' }} @break @case('badge') @if(isset($coluna['badge_function'])) {!! call_user_func($coluna['badge_function'], $item) !!} @else {{ $item->{$key} ?? '-' }} @endif @break @default {{ $item->{$key} ?? '-' }} @endswitch @else {{ $item->{$key} ?? '-' }} @endif | @endforeach
@if(isset($totaisLinha[$key])) @if(isset($coluna['format']) && $coluna['format'] === 'currency') R$ {{ number_format($totaisLinha[$key], 2, ',', '.') }} @else {{ $totaisLinha[$key] }} @endif @endif | @endforeach
Nenhum registro encontrado
Não há dados para exibir com os filtros aplicados.