{!! Form::label('nome', 'Nome:') !!}

{{ $contasPagar->nome }}

{!! Form::label('mfi_categoria_despesa_id', 'Categoria:') !!} @if (isset($contasPagar->categoriaDespesa->nome))

{{ $contasPagar->categoriaDespesa->nome }}

@else

@endif
{{--
{!! Form::label('origem_id', 'Origem Id:') !!}

{{ $contasPagar->origem_id }}

--}}
{!! Form::label('origem_nome', 'Conta:') !!}

{{ $contasPagar->origem_nome }}

{{--
{!! Form::label('origem_tabela', 'Origem Tabela:') !!}

{{ $contasPagar->origem_tabela }}

--}}
{!! Form::label('datacompetencia', 'Competência:') !!}

{{ date('d/m/Y',strtotime($contasPagar->datacompetencia)) }}

{!! Form::label('datavencimento', 'Vencimento:') !!}

{{ date('d/m/Y',strtotime($contasPagar->datavencimento)) }}

{!! Form::label('valor', 'Valor:') !!}

R$ {{number_format($contasPagar->valor, 2, ',', '.')}}

{!! Form::label('pago', 'Pago ?:') !!} {{--

{{ $contasPagar->pago }}

--}} @switch($contasPagar->pago) @case('S')

SIM

@break @case('N')

NÃO

@break @case('PP')

Pago Parcial

@break @default

@endswitch
{!! Form::label('datapagamento', 'Pagamento:') !!} @if ($contasPagar->datapagamento != null)

{{ date('d/m/Y',strtotime($contasPagar->datapagamento)) }}

@else

@endif
{!! Form::label('desconto', 'Desconto:') !!} @if ($contasPagar->desconto == null)

R$ 0,00

@else

R$ {{number_format($contasPagar->desconto, 2, ',', '.') }}

@endif
{!! Form::label('taxa', 'Taxa:') !!} {{--

{{ $contasPagar->taxa }}

--}} @if ($contasPagar->taxa == null)

R$ 0,00

@else

R$ {{number_format($contasPagar->taxa, 2, ',', '.') }}

@endif
{!! Form::label('juros', 'Juros:') !!} {{--

{{ $contasPagar->juros }}

--}} @if ($contasPagar->juros == null)

R$ 0,00

@else

R$ {{number_format($contasPagar->juros, 2, ',', '.') }}

@endif
{!! Form::label('multa', 'Multa:') !!} {{--

{{ $contasPagar->multa }}

--}} @if ($contasPagar->multa == null)

R$ 0,00

@else

R$ {{ number_format($contasPagar->multa, 2, ',', '.') }}

@endif
{!! Form::label('valorpago', 'Valorpago:') !!} {{--

{{ $contasPagar->valorpago }}

--}} @if ($contasPagar->valorpago == null)

R$ 0,00

@else

R$ {{ number_format($contasPagar->valorpago, 2, ',', '.') }}

@endif