{{-- Tabela de Parcelas --}}
| Parcela | Valor | Vencimento | Status | Valor {{ $tipoConta === 'receber' ? 'Recebido' : 'Pago' }} | Data {{ $tipoConta === 'receber' ? 'Recebimento' : 'Pagamento' }} | Ações |
|---|---|---|---|---|---|---|
| {{ $parcela->numero_parcela }}/{{ $parcela->total_parcelas }} | R$ {{ number_format($parcela->valor_total, 2, ',', '.') }} |
{{ \Carbon\Carbon::parse($parcela->data_vencimento)->format('d/m/Y') }}
@if($parcela->isVencida())
Vencida @endif |
{{ $parcela->status_label }} | R$ {{ number_format($parcela->valor_pago, 2, ',', '.') }} | @if($parcela->data_pagamento) {{ \Carbon\Carbon::parse($parcela->data_pagamento)->format('d/m/Y') }} @else - @endif |