@extends('app') @section('content')

@if( $caixaVoltar ) @endif Investimentos

@include('_fragments.ListagemPadronizada_form')
Adicionar
@include('flash::message')
@foreach($investimentos as $investimento) @endforeach
@sortablelink('nome', 'Nome') @sortablelink('rendimento', 'Rendimento') @sortablelink('data', 'Data') @sortablelink('conta_id', 'Conta Bancária') @sortablelink('valor_liquido', 'Valor Líquido') Ações
{{ $investimento->nome }} {{ $investimento->rendimento }} {{ \Carbon\Carbon::parse($investimento->data)->format('d/m/Y')}} {{ $investimento->ContaBancariaNome() }} R$ {{ number_format($investimento->valor_liquido/100, 2, ',','.') }} {{ Form::open(['route' => ['financeiro.investimentos.destroy' , $investimento->id], 'style'=>'display:inline;']) }} {{ Form::hidden('_method', 'DELETE') }} {{ Form::close() }}
{!! $investimentos->appends(\Request::except('page'))->render() !!}
@include('_fragments.modal', ['titulo'=>'Rendimento']) @endsection