@extends('layouts.app') @section('title', __('delivery_information.schedule_delivery')) @section('content') {{--

@lang('product.add_new_product')

--}} @php if(!empty($contact->shipping_address)){ $address = $contact->shipping_address; }else{ if(!empty($contact->address_line_1) || !empty($contact->address_line_2)) { $address = $contact->address_line_2." ".$contact->address_line_2; } } if(!empty($address)){ if(!empty($contact->postal_code)){ $address = $address. " ". $contact->postal_code; }else{ $address = $address. " ". $contact->zip_code; } } @endphp
{!! Form::open(['url' => action([\App\Http\Controllers\DeliveryInformationController::class, 'store']), 'method' => 'post', 'id' => 'delivery_information_add_form','class' => 'delivery_information_add_form ', 'files' => true ]) !!}
{!! Form::label('packed_sell_line', __('lang_v1.packed_sell_line') . ':*') !!} {!! Form::select('packed_sell_line[]', $packerProductData, [], [ 'data-tags' => 'true','id' => 'packed_sell_line', 'class' => 'form-control select2', 'required', 'multiple','placeholder' => __('lang_v1.select_packed_sell_line')]); !!}
{!! Form::label('driver_id', __('lang_v1.driver') . ':*') !!} {!! Form::select('driver_id', $drivers, null, [ 'data-tags' => 'true','id' => 'driver_id', 'class' => 'form-control select2', 'required','placeholder' => __('lang_v1.select_driver')]); !!}
{!! Form::label('name', __('lang_v1.name') . ':*') !!} {!! Form::text('name', !empty($contact->name) ? $contact->name : null, ['class' => 'form-control', 'required', 'placeholder' => __('lang_v1.name')]); !!}
{!! Form::label('invoice_no', __('lang_v1.invoice_no') . ':*') !!} {!! Form::hidden('invoice_no', $transaction->invoice_no); !!} {!! Form::text('invoice', !empty($transaction->invoice_no) ? $transaction->invoice_no : null, ['class' => 'form-control', 'required', 'placeholder' => __('lang_v1.invoice_no'), 'disabled']); !!}
{!! Form::label('contact_no', __('lang_v1.contact_no') . ':*') !!} {!! Form::text('contact_no', !empty($contact->mobile) ? $contact->mobile : null, ['class' => 'form-control', 'required', 'placeholder' => __('lang_v1.contact_no')]); !!}
{!! Form::label('email', __('lang_v1.email_address') . ':*') !!} {!! Form::text('email', !empty($contact->email) ? $contact->email : null, ['class' => 'form-control', 'required', 'placeholder' => __('lang_v1.email_address')]); !!}
{!! Form::label('delivery_date', __('lang_v1.delivery_date') . ':*') !!}
{!! Form::text('delivery_date', null, ['class' => 'form-control', 'required', 'placeholder' => __('lang_v1.delivery_date')]); !!}
{!! Form::label('delivery_time', __('lang_v1.delivery_time') . ':*') !!} {!! Form::text('delivery_time', null, ['class' => 'form-control', 'required', 'placeholder' => __('lang_v1.delivery_time')]); !!}
@include('delivery_information.partials.services')
{!! Form::label('address', __('lang_v1.address') . ':*') !!}
Format: [Block No./Unit No.][Street Name][#Floor-Unit No.][Postal Code] {!! Form::textarea('address', !empty($address) ? $address : null , ['class' => 'form-control', 'required', 'placeholder' => __('lang_v1.address')]); !!}
{!! Form::label('department_name', __('lang_v1.department_name') . ':*') !!}
Example: Normanton Park (Property Development Name) {!! Form::text('department_name', null, ['class' => 'form-control', 'required', 'placeholder' => __('lang_v1.department_name')]); !!}
{!! Form::label('interior_designer_name', __('lang_v1.interior_designer_name') . ':*') !!}
Example: Normanton Park (Property Development Name) {!! Form::text('interior_designer_name', null, ['class' => 'form-control', 'required', 'placeholder' => __('lang_v1.interior_designer_name')]); !!}
{!! Form::label('interior_designer_contact_no', __('lang_v1.interior_designer_contact_no') . ':*') !!}
Example: 9123 4567 {!! Form::text('interior_designer_contact_no', null, ['class' => 'form-control', 'required', 'placeholder' => __('lang_v1.interior_designer_contact_no')]); !!}
{!! Form::label('interior_designer_firm_name', __('lang_v1.interior_designer_firm_name') . ':*') !!}
Example: Rezt & Relax Interior Design {!! Form::text('interior_designer_firm_name', null, ['class' => 'form-control', 'required', 'placeholder' => __('lang_v1.interior_designer_firm_name')]); !!}
{!! Form::label('remarks', __('lang_v1.remarks') . ':*') !!}
Any delivery instructions/information or access method. {!! Form::text('remarks', null, ['class' => 'form-control', 'required', 'placeholder' => __('lang_v1.remarks')]); !!}
{!! Form::label('outstanding_payment', __('lang_v1.outstanding_payment') . ':*') !!}
Any outstanding payment to be collected during delivery {!! Form::text('outstanding_payment', null, ['class' => 'form-control', 'required', 'placeholder' => __('lang_v1.outstanding_payment')]); !!}
{!! Form::hidden('business_id', $transaction->business_id); !!} {!! Form::hidden('location_id', $transaction->location_id); !!} {!! Form::hidden('transaction_id', $transaction->id); !!} {!! Form::close() !!}
@endsection @section('javascript') @php $asset_v = env('APP_VERSION'); @endphp @endsection