@extends("cms.layouts.app", ['page_id' => 'picking_index']) @push("css") @endpush @push("js") @endpush @section("title") @if (count(explode(',', $platform))>1) {{$country}} Total Picking @endif @if (count(explode(',', $platform)) == 1) {{ __('cms.order.platforms.' . $platform) }} {{ __('cms.sidemenu.picking') }} @endif @endsection @section("content")
@if ($platform ==4 || $platform ==8 || $platform ==6)
@endif
@php $dates_options = [ '+0' => __('cms.today'), '+1' => __('cms.tomorrow'), '+2' => __('cms.2_days_later'), '+7' => __('cms.this_week'), ]; @endphp
@php $stores_options = \App\Store::where('platform_id',$platform)->where('status',1)->pluck('name', 'id')->toArray(); $stores_options[0] = 'All Stores'; ksort($stores_options); @endphp {{ Form::select('store_option', $stores_options, null, ['id' => 'store-option', 'class' => "text-status font-weight-600 form-control form-control-sm", 'style' => 'min-width: 100px;']) }}
{{--
--}} {{-- {{ --}} {{-- Form::select('picking_date', $dates_options, null, ['class' => "text-status font-weight-600 form-control form-control-sm", 'style' => 'min-width: 200px;', 'placeholder' => __('cms.filter_filed', ['field' => __('cms.order.picking_date')])]) --}} {{-- }} --}} {{--
--}}
{{ __('cms.order.order_no')}} {{ __('cms.order.invoice_no')}} {{ __('cms.order.picking_date')}} {{ __('cms.order.order_date')}} {{ __('cms.order.platform')}} {{ __('cms.order.courier')}} {{ __('cms.status')}}
{{ Form::open(['route' => 'cms.orders.export', 'method' => 'POST', 'id' => 'form_export']) }} @php $couriers_options = $couriers->pluck('name', 'id'); $platforms_options = $platforms->pluck('name', 'id'); $dates_options = [ '0' => __('cms.today'), '+1' => __('cms.tomorrow'), '+2' => __('cms.2_days_later'), '+7' => __('cms.this_week'), ]; $fields = [ [ 'type' => 'select', 'name' => 'courier_id', 'label' => __('cms.order.courier'), 'options' => $couriers_options, 'withAny' => '1' ], [ 'type' => 'select', 'name' => 'platform_id', 'label' => __('cms.order.platform'), 'options' => $platforms_options, 'withAny' => '1', ], [ 'type' => 'select', 'name' => 'picking_date', 'label' => __('cms.order.picking_date'), 'options' => $dates_options, 'withAny' => '1' ], ]; @endphp
{{ Form::close() }}
@endsection