@extends('layouts.app') @section('title', 'Pagamentos da Conta') @section('content')
Descrição: {{ $conta->descricao ?? 'N/A' }}
Valor da Conta: R$ {{ number_format($conta->valor, 2, ',', '.') }}
Total Pago: R$ {{ number_format($conta->totalPago(), 2, ',', '.') }}
Valor Restante: R$ {{ number_format($conta->valor - $conta->totalPago(), 2, ',', '.') }}
@if($pagamentos->count() > 0)# | Valor Pago | Data do Pagamento | Data de Registro |
---|---|---|---|
{{ $index+1 }} | R$ {{ number_format($pagamento->valor, 2, ',', '.') }} | {{ $pagamento->data_pagamento->format('d/m/Y') }} | {{ $pagamento->created_at->format('d/m/Y H:i') }} |
Nenhum pagamento registrado para esta conta.
@endif