@extends('layouts.adminLayout.admin_design') @section('content')

{{ $title }}

{{ Form::open(['url' => route('hourlyalesPost'), 'method'=>'POST', 'name' => 'hourlySales', 'id' => 'hourlySales']) }} {{ Form::hidden("rtype",$rtype,['id'=>'rtype']) }}
{{ Form::text('datetimes', '', ['class' => 'form-control datetimes', 'id'=>'datetimes','style'=>'width:100%']) }}
@if( $rtype == 'enterprise')
{{ Form::select('establishmentIds[]',$establishments,"",['class'=>'form-control select2 establishment input-sm','multiple'=>'multiple','id'=>'establishmentIds']) }}
@endif
{{ Form::select('user_id', [''=>'Search employee']+$users, '', ['class' => 'form-control select2 employees', 'id'=>'user_id']) }}
{{ Form::select('station_id[]', $stations, '', ['class' => 'form-control select2 stations input-sm', "multiple"=>"multiple", 'id'=>'station_id']) }}

{{ Form::button(' '. __('lbl.filter'), ["class"=>"clickbtncommon btn btn-sm btn-primary","id"=>"dateSearch"]) }} {{ Form::button(' '. __('lbl.pdf'), ["class"=>"clickbtncommon btn btn-sm btn-primary ","value"=>"pdf","type"=>"submit","name"=>"export"]) }} {{ Form::button(' '. __('lbl.xlsx'), ["class"=>"clickbtncommon btn btn-sm btn-primary","value"=>"xlsx","name"=>"export",'type' => 'submit']) }} {{ Form::button(' '. __('lbl.csv'), ["class"=>"clickbtncommon btn btn-sm btn-primary","value"=>"csv","name"=>"export",'type' => 'submit']) }}
{{ Form::close() }}
{{ __('lbl.time') }} {{ __('lbl.seat')}} {{ __('lbl.transactions')}} {{ __('lbl.items') }} {{ __('lbl.avg_sales') }} {{ __('lbl.sales') }} {{ __('lbl.Cash') }} {{ __('lbl.card') }} %{{ __('lbl.sales') }}
@endsection @section('pagescript') {!! Helper::pagejs([ 'js/lib/datatables.net/js/jquery.dataTables.min.js', 'js/lib/datatables.net-bs/js/dataTables.bootstrap.min.js', 'js/lib/select2/dist/js/select2.full.min.js', 'js/lib/moment/min/moment.min.js', 'js/lib/bootstrap-daterangepicker/daterangepicker.js', 'js/lib/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js', 'js/lib/plugins/timepicker/bootstrap-timepicker.min.js', 'js/backend/report/hourly_sales.js', ]) !!} @stop