@extends('WebApp.template.master') @section('menu') @include('WebApp.template.header') @endsection @push('cssStyle') @endpush @push('jsScript') @endpush @section('content')

Simulação Nº {{ $simulacao->id }}

Criado em {{ date('d/m/Y', strtotime($simulacao->created_at)) }} por {{ $usuario->nome }}
@if($simulacao->baseEmpresa == 1) Consoli @else Fotus @endif
Status

Formando

{{ $aluno->id }} - {{ $aluno->nome }}
{{ $aluno->cpf }}

Centro Custo

{{ $centroCusto->nome }}

Conta Caixa

@foreach($contaCaixa as $conta) {{$conta->nome}} @endforeach


Taxa Administrativa

Quantidade: {{ $simulacao->qtdTaxaAdm }}
Valor: {{ 'R$ ' . number_format($simulacao->valorTaxaAdm, 2, ',', '.') }}
Total: {{ 'R$ ' . number_format($simulacao->qtdTaxaAdm * $simulacao->valorTaxaAdm, 2, ',', '.') }}

Cancelamentos

Quantidade: {{ $simulacao->qtdCancelamento }}
Valor: {{ 'R$ ' . number_format($simulacao->valorCancelamento, 2, ',', '.') }}
Total: {{ 'R$ ' . number_format($simulacao->qtdCancelamento * $simulacao->valorCancelamento, 2, ',', '.') }}

Primeiro Vencimento

{{date('d/m/Y', strtotime($simulacao->primeiroVencimento))}}

Nº de propostas

{{count($parcelas)}}


Valor Original

@if ($simulacao->novoValor) {{ 'R$ ' . number_format($simulacao->novoValor, 2, ',', '.') }}
{{ 'R$ ' . number_format($simulacao->valorOriginal, 2, ',', '.') }} @else {{ 'R$ ' . number_format($simulacao->valorOriginal, 2, ',', '.') }} @endif

Avista

{{ 'R$ ' . number_format(($simulacao->valorNegociar - ($simulacao->descontoAvista / 100 * $simulacao->valorNegociar )), 2, ',', '.') }}
@if($simulacao->descontoAvista > 0) {{ $simulacao->descontoAvista .'%' }} @endif

Valor a negociar

{{ 'R$ ' . number_format($simulacao->valorNegociar, 2, ',', '.') }}


Propostas
@foreach($parcelas as $parcela) @endforeach
Proposta Qtd Parcelas Parcela
{{ $parcela->indiceParcela }}
@php $iMsgo = 0 @endphp @foreach ($msgp as $categoria) @if ($iMsgo++ == 0)
@else
@endif
@php $iMsg = 1; $len = count($categoria->mensagens); @endphp @if(!$categoria->mensagens->count())
@else @foreach ($categoria->mensagens as $mensagem) @if($iMsg++ == $len)
@else
@endif @endforeach @endif
@endforeach
@endsection