{{--
{!! Form::label('id_origem', 'Id Origem:') !!}

{{ $extrato->id_origem }}

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

{{ $extrato->origem }}

--}}

{{ $extrato->descricao }}

{!! Form::label('datavencimento', 'Lançamento:') !!}

{{ date('d/m/Y',strtotime($extrato->created_at)) }}

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

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

{!! Form::label('status', 'Status:') !!} {{--

{{ $extrato->status }}

--}} @switch($extrato->status) @case('A')

Aguardando

@break @case('p')

'Pago'

@break @case('PP')

Pago Parcial

@break @default

@endswitch
{!! Form::label('status', 'Tipo de Lançamento:') !!} @if ($extrato->tipolancamento == 'C')

CRÉDITO

@else

DÉBITO

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

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