@extends('layouts.app') @section('content')
Data Faturamento: {{date('d/m/Y', strtotime($faturamento->created_at))}}
Data Vencimento dos Títulos: {{date('d/m/Y', strtotime($faturamento->vencimento))}}
Total Sócios: {{$faturamento->total_socios}}
Total Imóveis: {{$faturamento->total_imoveis}}
Total Títulos: {{$faturamento->total_titulos}}
Total do Faturamento: R$ {{number_format($faturamento->valor_total, 2, ',', '.')}}
| Sócio | Vencimento | Imóveis Faturados | Títulos Gerados | Valor Total |
|---|---|---|---|---|
| {{ $socio->nome }} | {{ date('d/m/Y', strtotime($socio->titulosReceber->first()->data_vencimento)) }} | {{ $socio->titulosReceber->last()->quantidade_imoveis }} | {{ $socio->titulosReceber->count()}} | R$ {{ number_format($socio->titulosReceber->sum('valor_corrigido'), 2,',','.')}} |