@extends('layouts.app') @section('title', __('tracker::lang.Trip')) @section('content') @section('css') @endsection @include('tracker::layouts.nav')

@lang('tracker::lang.visits')

@component('components.filters', ['title' => __('tracker::lang.filters'), 'class' => 'box-solid'])
{!! Form::label('user_id', __('tracker::lang.Sales Person') . ':') !!} {!! Form::select('user_id', $users, null, ['class' => 'form-control select2', 'style' => 'width:100%']) !!}
{!! Form::label('customer_id', __('tracker::lang.customer') . ':') !!} {!! Form::select('customer_id', $customers, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang.all')]) !!}
{!! Form::label('date_range_filter', __('report.date_range') . ':') !!} {!! Form::text('date_range_filter', null, ['placeholder' => __('lang_v1.select_a_date_range'), 'class' => 'form-control', 'readonly', 'id' => 'date_range_filter']) !!}
{!! Form::label('tracker_tripschedule_id', __('tracker::lang.Sales Routes') . ':') !!} {!! Form::select('tracker_tripschedule_id', $salesRoutes, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang.all')]) !!}
{!! Form::label('stage_id', __('tracker::lang.stage') . ':') !!} {!! Form::select('stage_id', $stages, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang.all')]) !!}
{!! Form::label('state_id', __('business.state') . ':' ) !!}
{!! Form::select('state_id', statesDefault()??[], null , ['class' => 'form-control select2', 'id' => 'state_id', 'placeholder' => __('lang.selected'), 'style' => 'width: 100%;']); !!}
{!! Form::label('city_id', __('business.city') . ':' ) !!}
{!! Form::select('city_id', [], null , ['class' => 'form-control select2', 'id' => 'city_id', 'placeholder' => __('lang.selected'), 'style' => 'width: 100%;']); !!}
@endcomponent @component('components.widget', ['title' => __('tracker::lang.All Visits'), 'icon' => '', 'class' => 'box-solid']) @slot('tool')
@endslot
@endcomponent