{{-- Modal de Detalhes de Transferência --}} @if(isset($mov['transferencia']) && $mov['transferencia'])
{{ Carbon\Carbon::parse($mov['transferencia']->data)->format('d/m/Y') }}
R$ {{ number_format($mov['transferencia']->valor, 2, ',', '.') }}
{{ $mov['transferencia']->descricao }}
{{ $mov['transferencia']->contaOrigem->empresa->nome_fantasia ?? $mov['transferencia']->contaOrigem->empresa->razao_social }}
{{ $mov['transferencia']->contaOrigem->banco }} - Ag: {{ $mov['transferencia']->contaOrigem->agencia }} - CC: {{ $mov['transferencia']->contaOrigem->conta_corrente }}
{{ $mov['transferencia']->planoOrigem->codigo }} - {{ $mov['transferencia']->planoOrigem->descricao }}
{{ $mov['transferencia']->contaDestino->empresa->nome_fantasia ?? $mov['transferencia']->contaDestino->empresa->razao_social }}
{{ $mov['transferencia']->contaDestino->banco }} - Ag: {{ $mov['transferencia']->contaDestino->agencia }} - CC: {{ $mov['transferencia']->contaDestino->conta_corrente }}
{{ $mov['transferencia']->planoDestino->codigo }} - {{ $mov['transferencia']->planoDestino->descricao }}
Os lançamentos abaixo estão vinculados a esta transferência, mas não são contabilizados no relatório para evitar duplicação de valores.
Fornecedor: {{ $contaPagar->fornecedor->razao_social ?? 'N/A' }}
Descrição: {{ Str::limit($contaPagar->descricao, 50) }}
@if($contaPagar->evento)Evento: {{ $contaPagar->evento->nome }}
@endif @if($contaPagar->planoDeConta)Plano: {{ $contaPagar->planoDeConta->codigo }} - {{ $contaPagar->planoDeConta->descricao }}
@endifValor: R$ {{ number_format($contaPagar->valor, 2, ',', '.') }}
Vencimento: {{ $contaPagar->data_vencimento }}
Status: @if($contaPagar->isPaga()) Paga (R$ {{ number_format($contaPagar->totalPago(), 2, ',', '.') }}) @else Em Aberto @endif
Cliente: {{ $contaReceber->cliente->razao_social ?? 'N/A' }}
Descrição: {{ Str::limit($contaReceber->descricao, 50) }}
@if($contaReceber->evento)Evento: {{ $contaReceber->evento->nome }}
@endif @if($contaReceber->planoDeConta)Plano: {{ $contaReceber->planoDeConta->codigo }} - {{ $contaReceber->planoDeConta->descricao }}
@endifValor: R$ {{ number_format($contaReceber->valor, 2, ',', '.') }}
Vencimento: {{ $contaReceber->data_vencimento }}
Status: @if($contaReceber->isPago()) Recebida (R$ {{ number_format($contaReceber->totalRecebido(), 2, ',', '.') }}) @else Pendente @endif
Pagamentos Vinculados | ||||
---|---|---|---|---|
ID | Data | Conta a Pagar | Fornecedor | Valor |
#{{ $pagamento->id }} | {{ $pagamento->data_pagamento->format('d/m/Y') }} | #{{ $pagamento->conta_a_pagar_id }} | {{ $pagamento->contaAPagar->fornecedor->razao_social ?? 'N/A' }} |
R$ {{ number_format($pagamento->valor + ($pagamento->juros ?? 0) + ($pagamento->multa ?? 0), 2, ',', '.') }}
@if($pagamento->juros > 0 || $pagamento->multa > 0)
Principal: R$ {{ number_format($pagamento->valor, 2, ',', '.') }} @if($pagamento->juros > 0) Juros: R$ {{ number_format($pagamento->juros, 2, ',', '.') }} @endif @if($pagamento->multa > 0) Multa: R$ {{ number_format($pagamento->multa, 2, ',', '.') }} @endif @endif |
Recebimentos Vinculados | ||||
---|---|---|---|---|
ID | Data | Conta a Receber | Cliente | Valor |
#{{ $recebimento->id }} | {{ $recebimento->data_pagamento->format('d/m/Y') }} | #{{ $recebimento->conta_a_receber_id }} | {{ $recebimento->contaAReceber->cliente->razao_social ?? 'N/A' }} | R$ {{ number_format($recebimento->valor, 2, ',', '.') }} |
ID: #{{ $mov['transferencia']->contaAPagar->id }}
Fornecedor: {{ $mov['transferencia']->contaAPagar->fornecedor->razao_social ?? 'N/A' }}
Valor: R$ {{ number_format($mov['transferencia']->contaAPagar->valor, 2, ',', '.') }}
Vencimento: {{ $mov['transferencia']->contaAPagar->data_vencimento }}
Status: @if($mov['transferencia']->contaAPagar->isPaga()) Paga @else Em Aberto @endif
ID: #{{ $mov['transferencia']->contaAReceber->id }}
Cliente: {{ $mov['transferencia']->contaAReceber->cliente->razao_social ?? 'N/A' }}
Valor: R$ {{ number_format($mov['transferencia']->contaAReceber->valor, 2, ',', '.') }}
Vencimento: {{ $mov['transferencia']->contaAReceber->data_vencimento }}
Status: @if($mov['transferencia']->contaAReceber->isPago()) Recebida @else Pendente @endif