@extends('layouts.dashboard') @section('title', 'Relatório de Pagamentos') @section('title-dashboard') Relatório de Pagamentos @endsection @section('pg-home') @endsection @section('content') @parent
Relatório de Pagamentos
{!! Form::open(['route' => 'rel-pagamentosPdf', 'class' => 'horizontal-form','files' => true]) !!}

Filtro

{!! Form::label('empresa_id', trans('relatorios.empresa_id'), ['class' => 'control-label']) !!}
{!! Form::select('empresa_id', $empresas, null, ['class' => 'form-control select2','id' => 'empresa_id', 'placeholder' => 'TODAS AS EMPRESAS']) !!} {!! $errors->first('empresa_id', '

:message

') !!}
{!! Form::label('cliente_id', trans('relatorios.cliente_id'), ['class' => 'control-label']) !!}

Pagamentos

@if(!empty($despesas_agrupadas)) @foreach($despesas_agrupadas as $item)
{{$item['fornecedor']}}
{{-- */$x=0;/* --}} @foreach($item['lista'] as $list) {{-- */$x++;/* --}}
Data Empresa Forma Pag. Valor
{{ $list['data'] }}1 {{ $list['empresa'] }} {{ $list['fpg'] }} {{ number_format($list['valor'],2,',','.') }}
( ! ) Notice: Undefined variable: list in /home/radicalf/public_html/grupofrota/resources/views/relatorios/rel_pagamentos.blade.php on line 118
Call Stack
#TimeMemoryFunctionLocation
10.0017237672{main}( ).../rel_pagamentos.blade.php:0
@endforeach
@endforeach
TOTAIS
{{ number_format(array_sum($array_totais),2,',','.') }}
@endif
{!! Form::close() !!}
{!! Form::open(['url' => 'pdfdivconteudo','id'=>'form_pdfdivconteudo','target'=>'_blank', 'class' => 'horizontal-form', 'files' => true]) !!}
{!! Form::hidden('titulo', 'RELATORIO DE PAGAMENTOS', ['class' => 'form-control','id'=>'titulo','placeholder'=>'Titulo']) !!} {!! Form::hidden('conteudo', null, ['class' => 'form-control','id'=>'conteudo','placeholder'=>'Conteudo']) !!} {!! $errors->first('conteudo', '

:message

') !!}
{!! Form::close() !!}
@endsection