@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 $country_options = ['1'=>'China','2'=>'Hong Kong','3' => 'Japan','4'=>'Korea','5'=>'USA']; @endphp {{ Form::select('country_option', array_merge(['0' =>'All Country'], $country_options), null, ['id' => 'country-option', 'class' => "text-status font-weight-600 form-control form-control-sm", 'style' => 'min-width: 100px;']) }}
@php $platforms_options = \App\Platform::all()->pluck('name', 'id')->toArray(); @endphp {{ Form::select('platforms_option', array_merge(['0' =>'All Platforms'], $platforms_options), null, ['id' => 'platform-option', 'class' => "text-status font-weight-600 form-control form-control-sm", 'style' => 'min-width: 100px;']) }}
@php $stores_options = \App\Store::where('platform_id',$platform)->where('status',1)->pluck('name', 'id')->toArray(); @endphp {{ Form::select('store_option', array_merge(['0' =>'All Stores'], $stores_options), null, ['id' => 'store-option', 'class' => "text-status font-weight-600 form-control form-control-sm", 'style' => 'min-width: 100px;']) }}
{{ Form::select('date_option', [ '1' => 'Order Date', '2' => 'Import Date', ], null, ['id' => 'date-option', 'class' => "text-status font-weight-600 form-control form-control-sm", 'style' => 'min-width: 100px;']) }}
Product Order Number {{ __('cms.order.order_no')}} {{ __('cms.order.invoice_no')}} {{ __('cms.order.platform')}} Product Name Qty {{ __('cms.order.courier')}} Tracking No. / HAWB No. {{ __('cms.status')}} {{ __('cms.order.order_date')}} {{ __('cms.order.import_date')}} Picking Date Shipping Date Edit Sync After Ship
@php $platforms_options = \App\Platform::all()->pluck('name', 'id'); @endphp
{{ Form::open(['route' => 'cms.orders.import_tracking', 'method' => 'POST', 'id' => 'upload_tracking', 'files' => true]) }} {{ Form::fileUpload('upload_tracking', null, [ 'multiple' => true, 'type' => 'document', 'accept' => '.xlsx, .xls, .csv', ]) }} @php $couriers_options = \App\Courier::all()->pluck('name', 'id'); @endphp
{{ Form::close() }}
{{ 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