@extends('layouts.app') @section('content')

Faturamentos com Vencimento em {{date('m-Y', strtotime($mes))}}

@foreach ($faturamentos as $faturamento) @endforeach
Mês Referência Mês Vencimento Logradouro Sócios Faturados Imóveis Faturados Títulos Gerados Valor Total Ações
{{ date('m/Y', strtotime($faturamento->mes_referencia)) }} {{ date('m/Y', strtotime($faturamento->vencimento)) }} {{ $faturamento->logradouro }} {{ $faturamento->total_socios }} {{ $faturamento->total_imoveis }} {{ $faturamento->total_titulos }} R$ {{ number_format($faturamento->valor_total, 2, ',', '.') }} @if (!$faturamento->existeTitulosRecebidos()) @endif
Total R$ {{ number_format($faturamentos->sum('valor_total'), 2, ',', '.') }}
@if(count($faturamentos))
{{ $faturamentos->appends($filtros)->onEachSide(5)->links() }}
@endif
@if (sizeof($faturamentos) > 0)
@csrf @method('delete')
@endif @endsection @push('scripts') @endpush