@extends('layouts.app') @section('content') {{-- @dump($data) --}}
Reporte de Ventas Acumuladas
{{-- form open laravel collective --}}
{{-- {!! Form::open(['url'=>'reportes/reporte-contratos-clientes','method'=>'POST','autocomplete'=>'off','role'=>'search']) !!} --}} {!! Form::open([ 'url' => 'reporte/ventas_acumuladas', 'method' => 'POST', 'autocomplete' => 'off', 'role' => 'search', 'name' => 'frmFiltros', 'id' => 'frmFiltros', ]) !!} {{-- form select to clientes laravel collective --}} @if (!auth()->user()->hasRole('vendedor')) {!! Form::select('vendedor', [], null, [ 'id' => 'vendedor', 'class' => 'form-control', 'style' => 'width: 100%;', 'placeholder' => 'Seleccionar', ]) !!} @endif {!! Form::date('fecha_inicial', null, [ 'id' => 'fecha_inicial', 'class' => 'form-control', 'style' => 'width: 100%;', 'placeholder' => 'Seleccionar', 'required' => true, ]) !!} {!! Form::date('fecha_final', null, [ 'id' => 'fecha_final', 'class' => 'form-control', 'style' => 'width: 100%;', 'placeholder' => 'Seleccionar', 'required' => true, ]) !!} {{-- form submit laravel collective --}} Limpiar filtros {!! Form::submit('Generar', ['class' => 'btn btn-primary mt-2', 'id' => 'btnGenerar']) !!} {!! Form::close() !!}
@endsection @section('script') @endsection