@extends('layouts.layoutMaster') @section('title', 'Contas a Pagar') @section('vendor-style') @endsection @section('content')
| Descrição | Fornecedor | Valor Total | Valor Pago | Vencimento | Status | Ações | ||
|---|---|---|---|---|---|---|---|---|
|
{{ $conta->descricao }}
@if($conta->documento)
Doc: {{ $conta->documento }}
@endif
@if($conta->isParcelada())
{{ $conta->numero_parcela }}/{{ $conta->total_parcelas }}
@endif
@if($conta->is_recorrente)
{{ ucfirst($conta->tipo_recorrencia) }}
@endif
|
{{ $conta->fornecedor->nome ?? '-' }} |
@if($conta->isParcelada())
R$ {{ number_format($conta->valor_total * $conta->total_parcelas, 2, ',', '.') }}
Parcela: R$ {{ number_format($conta->valor_total, 2, ',', '.') }} @else R$ {{ number_format($conta->valor_total, 2, ',', '.') }} @endif |
@if($conta->valor_pago > 0)
R$ {{ number_format($conta->valor_pago, 2, ',', '.') }}
@if($conta->valor_pago < $conta->valor_total)
Restante: R$ {{ number_format($conta->valor_total - $conta->valor_pago, 2, ',', '.') }} @endif @else R$ 0,00 @endif |
{{ \Carbon\Carbon::parse($conta->data_vencimento)->format('d/m/Y') }}
@if($conta->isVencida())
Vencida @endif |
{{ $conta->status_label }} |
@if($conta->isParcelada())
@endif
@if($conta->is_recorrente)
@endif
|
||
|
Nenhuma conta a pagar encontrada |
||||||||