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

{{ $title }}

{{ Form::open(['url' => route('orders'), 'method'=>'POST', 'name' => 'orderreport', 'id' => 'orderreport']) }}
{{ Form::text('datetimes', '', ['class' => 'form-control datetimes', 'id'=>'datetimes','style'=>'width:100%']) }}
{{ Form::select('establishmentIds[]',$establishments,$establishment_id,['class'=>'form-control select2 establishment input-sm','multiple'=>'multiple','id'=>'establishmentIds']) }}
{{ 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::select('status', [""=>"-Select Status-", "COMPLETED"=>"Completed","PENDING"=>"Pending"],(Input::old('status')) ? Input::old('status') : "1",["class"=>"form-control","id"=>"status","name"=>"status"]) }}

{{ Form::checkbox('discrepancy_orders', '1', false,['id' => "discrepancy_orders"]) }}
{{ Form::checkbox('discrepancy_items', '1', false,['id' => "discrepancy_items"]) }}
{{ Form::checkbox('orders_with_discount', '1', false,['id' => "orders_with_discount"]) }}
{{ Form::checkbox('is_pickup_orders', '1', false,['id' => "is_pickup_orders"]) }}
{{ Form::select('payment_type', [''=>'--Payment Type--','CASH'=>'Cash','CARD'=>'Card','CREDIT'=>'Credit','CHECK'=>'Check'], '', ['class' => 'form-control', 'id'=>'payment_type']) }}
@if(Helper::widgetAccess('show_column_is_order_printed'))
{{ Form::select('print_status', [''=>'--Print Status--','true'=>'Printed','false'=>'Non Printed'], '', ['class' => 'form-control', 'id'=>'print_status']) }}
@endif

{{ 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","name"=>"export",'type' => 'submit']) }} {{ 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.applicant_name') }} {{ __('lbl.order_number') }} {{ __('lbl.service_number_range') }} {{ __('lbl.payment_slip_number') }} {{ __('lbl.created_by') }} {{ __('lbl.created_at') }} {{ __('lbl.status') }} {{ __('lbl.gross_total') }} {{ __('lbl.net_sales') }} {{ __('lbl.quantity_sold') }} {{ __('lbl.last_digits') }} {{ __('lbl.auth_code') }} {{ __('lbl.is_printed') }} {{ __('lbl.tax') }} {{ __('lbl.service_charge_cash') }} {{ __('lbl.service_charge_card') }} {{ __('lbl.discount') }} {{ __('lbl.item_discount') }} {{ __('lbl.order_item_discount') }} {{ __('lbl.tip_amount') }} {{ __('lbl.item_total') }} {{ __('lbl.gross_sales') }} {{ __('lbl.order_total') }} {{ __('lbl.payment_total') }} {{ __('lbl.action') }}
{{ Form::hidden('hidewebsettingscolumns',route('hidewebsettingscolumns'),['id'=>'hidewebsettingscolumns']) }} {{ Form::hidden('orderrowupdate',route('updateorderrecord'),['id'=>'orderrowupdate'])}} @endsection @section('pagescript') {!! Helper::datatablelib('orders/list.js') !!} {!! Helper::pagejs(['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/lib/select2/dist/js/select2.full.min.js']) !!} @stop