@extends('layouts.layout-admin') @section('styles') @endsection @section('content') {{ __('Create Order') }} {{ __('Home') }} {{ __('Create Order') }} {{ __('Create Order') }} @csrf {{ __('Customer Details') }} {{ __('New Customer') }} {{ __('Existing Customer') }} {{ __('User Name') }} * @if($errors->has('user_name')) {{ $errors->first('user_name') }} @endif {{ __('Email') }} * @if($errors->has('email')) {{ $errors->first('email') }} @endif {{ __('Phone Number') }} * @if($errors->has('phone')) {{ $errors->first('phone') }} @endif {{ __('Address Line 1') }} * @if($errors->has('address_line_1')) {{ $errors->first('address_line_1') }} @endif {{ __('Address Line 2') }} * @if($errors->has('address_line_2')) {{ $errors->first('address_line_2') }} @endif {{ __('Postal Code') }} * @if($errors->has('postal_code')) {{ $errors->first('postal_code') }} @endif {{ __('City') }} * @if($errors->has('city')) {{ $errors->first('city') }} @endif {{ __('State') }} * @if($errors->has('state')) {{ $errors->first('state') }} @endif {{ __('Country') }} * @if($errors->has('country')) {{ $errors->first('country') }} @endif {{ __('Company Name') }} * @if($errors->has('company_name')) {{ $errors->first('company_name') }} @endif {{ __('Search Customer') }} {{-- {!! Form::select('customer_name', $customer_names, null, ['class' => 'form-control m-bot15 select2bs4','id'=>'customer_name','required' => 'required','data-url'=>route('merchant.order.customer')]) !!} --}} {{ __('select customer') }} @foreach($customers as $customer) {{$customer->user_name}} {{ $customer->email }} {{ $customer->address_line_1 }} {{ $customer->address_line_2}} {{ $customer->postal_code }} @endforeach {{ __('Parcel Details') }} {{ __('Height') }} * @if($errors->has('height')) {{ $errors->first('height') }} @endif {{ __('Length') }} * @if($errors->has('length')) {{ $errors->first('length') }} @endif {{ __('Width') }} * @if($errors->has('width')) {{ $errors->first('width') }} @endif {{ __('Price') }} * @if($errors->has('price')) {{ $errors->first('price') }} @endif {{ __('Order Type') }} * {!! 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 {{ __('Order Image') }} * @if($errors->has('express_image')) {{ $errors->first('express_image') }} @endif {{ __('Vehicle Type') }} * {!! Form::select('vehicle_type', $vehicle_types, null, ['class' => 'form-control m-bot15','required' => 'required']) !!} @if($errors->has('vehicle_type')) {{ $errors->first('vehicle_type') }} @endif {{ __('Pickup Date:') }}* @if($errors->has('pickup_date')) {{ $errors->first('pickup_date') }} @endif {{ __('Pickup Time:') }}* @if($errors->has('pickup_time')) {{ $errors->first('pickup_time') }} @endif {{ __('Remarks') }} * @if($errors->has('remarks')) {{ $errors->first('remarks') }} @endif @endsection @section('scripts') @endsection
{{ $errors->first('user_name') }}
{{ $errors->first('email') }}
{{ $errors->first('phone') }}
{{ $errors->first('address_line_1') }}
{{ $errors->first('address_line_2') }}
{{ $errors->first('postal_code') }}
{{ $errors->first('city') }}
{{ $errors->first('state') }}
{{ $errors->first('country') }}
{{ $errors->first('company_name') }}
{{ $errors->first('height') }}
{{ $errors->first('length') }}
{{ $errors->first('width') }}
{{ $errors->first('price') }}
{{ $errors->first('order_type') }}
{{ $errors->first('express_image') }}
{{ $errors->first('vehicle_type') }}
{{ $errors->first('pickup_date') }}
{{ $errors->first('pickup_time') }}
{{ $errors->first('remarks') }}