@extends('relatorios.default') @section('content') @if(__countLocalAtivo() > 1) @endif @php $total = 0; @endphp @foreach($data as $key => $item) @if(__countLocalAtivo() > 1) @endif @php $total += $item['total']; @endphp @endforeach
# Cliente Data Valor TipoLocal
{{ $item['id'] }} {{ $item['cliente'] }} {{ __data_pt($item['data']) }} {{ $item['tipo'] }} {{ __moeda($item['total']) }} {{ $item['localizacao']->descricao }}
Total de Registros: {{ sizeof($data) }}

Total de Vendas: R$ {{ __moeda($total) }}

@endsection