@extends('Frontend.Layouts.modal') @section('modal_class', 'modal-full') @section('title') {{ trans('front.call_actions') }} @stop @section('body')
{!! Form::label('filter[date_from]', trans('validation.attributes.date_from').':') !!} {!! Form::text('filter[date_from]', null, ['class' => 'form-control datetimepicker', 'data-filter' => true, 'data-date-clear-btn' => true]) !!}
{!! Form::label('filter[date_to]', trans('validation.attributes.date_to').':') !!} {!! Form::text('filter[date_to]', null, ['class' => 'form-control datetimepicker', 'data-filter' => true, 'data-date-clear-btn' => true]) !!}
{!! Form::label('filter[user_id]', trans('validation.attributes.user').':') !!} {!! Form::select('filter[user_id]', $users ?? [], Auth::user()->id ?? null, ['class' => 'form-control', 'data-filter' => true]) !!}
{!! Form::hidden('filter[device_id][]', 0) !!} {!! Form::label('filter[device_id][]', trans('global.device').':') !!} {!! Form::select('filter[device_id][]', $devices ?? [], null, ['class' => 'form-control', 'multiple' => 'multiple', 'data-filter' => true, 'data-actions-box' => true]) !!}
{!! Form::label('filter[alert_id]', trans('validation.attributes.alert_type').':') !!} {!! Form::select('filter[alert_id]', $alerts ?? [], null, ['class' => 'form-control', 'data-filter' => true]) !!}
{!! Form::label('filter[event_type]', trans('validation.attributes.event_type').':') !!} {!! Form::select('filter[event_type]', $event_types ?? [], null, ['class' => 'form-control', 'data-filter' => true]) !!}
@include('Frontend.CallAction.table')
@stop @section('buttons') @stop