@extends('relatorios.v2.base') @section('report_name') Relátorio de cobrança pendente @endsection @section('report_name_subtitle') @if($data_inicial && $data_final) Periodo: {{$data_inicial}} - {{$data_final}} @endif @endsection @section('content')
@foreach($contas as $v) @if($v->venda_id != NULL) @else @endif @endforeach
CLIENTE DATA REGISTRO VENCIMENTO VALOR
{{$v->venda->cliente->razao_social}}--{{\Carbon\Carbon::parse($v->created_at)->format('d/m/Y')}} {{\Carbon\Carbon::parse($v->data_vencimento)->format('d/m/Y')}} {{number_format($v->valor_integral, 2)}}

SOMA: R$ {{number_format($soma, 2)}}

@endsection