@extends('default.layout') @section('content')

Lista de Contas a Receber

*{{$infoDados}}
@if(session()->has('message'))
{{ session()->get('message') }}
@endif
@foreach($contas as $c) @if($c->venda_id != null) @else @endif @if($c->status == true) @else @endif @endforeach
Código Cliente Status Categoria Valor Valor Recebido Referencia Data de Registro Data de Vencimento Data de Recebimento
{{ $c->id }}{{ $c->venda->cliente->razao_social }} -- @if($c->status == true) brightness_1 @else brightness_1 @endif {{$c->categoria->nome}} {{ number_format($c->valor_integral, 2, ',', '.') }} {{ number_format($c->valor_recebido, 2, ',', '.') }} referencia)) disabled @endif > message {{ \Carbon\Carbon::parse($c->data_registro)->format('d/m/Y')}} {{ \Carbon\Carbon::parse($c->data_vencimento)->format('d/m/Y')}}{{ \Carbon\Carbon::parse($c->data_recebimento)->format('d/m/Y')}}-- edit delete @if($c->status == false) money @endif
TOTAL {{ number_format($somaValor, 2, ',', '.') }} {{ number_format($somaRecebido, 2, ',', '.') }}

Valor a Receber: R$ {{number_format($somaValor - $somaRecebido, 2, ',', '.') }}


@if(count($contas) > 0)

Graficos

@endif
@endsection