@extends('layouts.layout-admin') @section('styles') @endsection @section('content')

{{ __('Edit Order') }}

{{ __('Edit Order') }}

{!! Form::open(array('url' =>'merchant/order/update', 'method'=>'post', 'class' => 'form-horizontal form-validate', 'enctype'=>'multipart/form-data')) !!} @csrf {{method_field('PUT')}}

{{ __('Customer Details') }}

@if($errors->has('user_name'))

{{ $errors->first('user_name') }}

@endif
@if($errors->has('email'))

{{ $errors->first('email') }}

@endif
@if($errors->has('phone'))

{{ $errors->first('phone') }}

@endif
@if($errors->has('address_line_1'))

{{ $errors->first('address_line_1') }}

@endif
@if($errors->has('address_line_2'))

{{ $errors->first('address_line_2') }}

@endif
@if($errors->has('postal_code'))

{{ $errors->first('postal_code') }}

@endif
@if($errors->has('city'))

{{ $errors->first('city') }}

@endif
@if($errors->has('state'))

{{ $errors->first('state') }}

@endif
@if($errors->has('country'))

{{ $errors->first('country') }}

@endif
@if($errors->has('company_name'))

{{ $errors->first('company_name') }}

@endif
{{-- {!! Form::select('customer_name', $customer_names, null, ['class' => 'form-control m-bot15 select2bs4','id'=>'customer_name','required' => 'required','data-url'=>route('merchant.order.customer')]) !!} --}}

{{ __('Parcel Details') }}

@if($errors->has('height'))

{{ $errors->first('height') }}

@endif
@if($errors->has('length'))

{{ $errors->first('length') }}

@endif
@if($errors->has('width'))

{{ $errors->first('width') }}

@endif
@if($errors->has('price'))

{{ $errors->first('price') }}

@endif
{!! Form::select('order_type', $order_types, null, ['class' => 'form-control m-bot15', 'id' => 'order_type', 'required' => 'required']) !!} @if($errors->has('order_type'))

{{ $errors->first('order_type') }}

@endif
@if($errors->has('express_image'))

{{ $errors->first('express_image') }}

@endif
{!! Form::select('vehicle_type', $vehicle_types, null, ['class' => 'form-control m-bot15','required' => 'required']) !!} @if($errors->has('vehicle_type'))

{{ $errors->first('vehicle_type') }}

@endif
@if($errors->has('pickup_date'))

{{ $errors->first('pickup_date') }}

@endif
@if($errors->has('pickup_time'))

{{ $errors->first('pickup_time') }}

@endif
@if($errors->has('remarks'))

{{ $errors->first('remarks') }}

@endif
{{ __('Cancel') }}
{!! Form::close() !!}
@endsection @section('scripts') @endsection