@extends('layouts.seller') @section('content')
@if(isset($_GET['device']) && (int)$_GET['device'] < 1) @endif @if($employeeId == 1) @endif
{!! Form::open(array('route' => 'seller.report.cash-register', 'method' => 'GET', 'class'=>'filter_form col-md-12')) !!}
{{--
{!! Form::label("from_date", __('report.from')) !!} {!! Form::text("from_date", (isset($filter['from_date'])?dateFormat($filter['from_date'], SHOW_DATE):''), ['class'=>'form-control p-3 datepicker-input']) !!}
{!! Form::label("to_date", __('report.to')) !!} {!! Form::text("to_date", (isset($filter['to_date'])?dateFormat($filter['to_date'], SHOW_DATE):''), ['class'=>'form-control datepicker-input']) !!}
--}}
{!! Form::label('device', __('pos_device.pos_device'), ['class' => 'control-label mb-2']) !!} {!! Form::select('device', $devices, isset($_GET['device']) ? $_GET['device'] : '', ['class' => 'form-control select2']) !!}
{!! Form::label("date", __('report.date')) !!}
{!! Form::hidden('from_date', isset($_GET['from_date'])?$_GET['from_date'] : '', ['id' => 'from_date']) !!} {!! Form::hidden('to_date', isset($_GET['to_date'])?$_GET['to_date'] : '', ['id' => 'to_date']) !!}
@if($employeeId > 0)
{{ Form::hidden('filter', 1) }} {!! Form::submit(__('orders.search'), ['class'=>'btn btn-primary btn_sub width80']) !!} {!! __('orders.reset') !!}
@endif
{!! Form::close() !!} @if($xml != "")
{!! __('report.download_xml') !!}
{{ __('report.download') }}:
{{--
{!! '' . $xml . '' !!}
--}}
@else

{!! __('report.select_filter') !!}

@endif
@endsection @section('script') @endsection