@php $pos_sell_statuses = [ 'final' => __('lang_v1.final'), 'draft' => __('sale.draft'), 'quotation' => __('lang_v1.quotation') ]; $woo_order_statuses = [ 'pending' => __('woocommerce::lang.pending'), 'processing' => __('woocommerce::lang.processing'), 'on-hold' => __('woocommerce::lang.on-hold'), 'completed' => __('woocommerce::lang.completed'), 'cancelled' => __('woocommerce::lang.cancelled'), 'refunded' => __('woocommerce::lang.refunded'), 'failed' => __('woocommerce::lang.failed'), 'shipped' => __('woocommerce::lang.shipped') ]; @endphp @foreach($woo_order_statuses as $key => $value) @endforeach
@lang('woocommerce::lang.woocommerce_order_status') @lang('woocommerce::lang.equivalent_pos_sell_status')
{{$value}} {!! Form::select("order_statuses[$key]", $pos_sell_statuses, $default_settings['order_statuses'][$key] ?? null, ['class' => 'form-control select2', 'style' => 'width: 100%;', 'placeholder' => __('messages.please_select')]); !!}