@extends('layouts.seller') @section('css') @endsection @section('content')
@include('layouts.partials.messages')
{!! Form::open(array('route' => 'seller.report.z-report', 'method' => 'GET','class'=>'filter_form col-md-12')) !!}
{!! Form::label("device_type", "Device Type", []) !!} {!! Form::select('device_type',$deviceType, (isset($_GET['device_type'])?$_GET['device_type']:''), ['class'=>'form-control select2','id'=>'__report_from','data-store'=>sellerId(),'data-route'=>route('report.get-pos-kiosk')]) !!}
@php $posClass = $kioskClass = 'style="display:none"'; $posSelected=$kioskSelected=false; @endphp @if(isset($_GET['device_type']) && $_GET['device_type'] == 1) @php $posClass=''; $posSelected=true; @endphp @endif @if(isset($_GET['device_type']) && $_GET['device_type'] == 2) @php $kioskClass=''; $kioskSelected=true; @endphp @endif
{!! Form::label("pos_device", __('report.pos_device'), []) !!} {!! Form::select('device_id[]',$posDevices, ($posSelected && isset($_GET['device_id'])?$_GET['device_id']:''), ['class'=>'form-control select2','multiple'=>true]) !!}
{!! Form::label("kiosk_device", __('report.kiosk_device'), []) !!} {!! Form::select('device_id[]',$kioskDevices,($kioskSelected && isset($_GET['device_id'])?$_GET['device_id']:'') , ['class'=>'form-control select2','multiple'=>true]) !!}
{!! Form::submit(__('orders.search'), ['class'=>'btn btn-primary btn_sub width80']) !!} {!! __('orders.reset') !!}
{!! Form::close() !!}
{{ __('common.sr-no') }} {{ __('z_report.report_from') }} {{ __('z_report.report_date') }} {{ __('z_report.employee_name') }} {{ __('z_report.end_report_date') }} {{ __('z_report.end_employee_name') }} {{ __('common.action') }}
@endsection