@extends('admin.layout') @section('content')

{{ trans('Create Shipping') }}

@php $getUserRoleData = userRoleData(); $Opportunities = explode(",",$getUserRoleData->Opportunities); $Accounts = explode(",",$getUserRoleData->Accounts); @endphp
@if(session()->has('message'))

{{ trans('labels.Successlabel') }}

{{ session()->get('message') }}
@endif @if(session()->has('error'))

{{ trans('labels.WarningLabel') }}

{{ session()->get('error') }}
@endif
@if(in_array("Add",$Opportunities )) {!! Form::open(array('url' =>'admin/create-shipping-from-opportunities-data', 'method'=>'post', 'class' => 'form-horizontal', 'id' => 'createShippingData', 'enctype'=>'multipart/form-data')) !!}
Ship From
{!! Form::text('ship_from_phone_number', $result['leadsData']->services_phone_number, array('class'=>'form-control', 'id'=>'ship_from_phone_number', 'required'=>'required', 'maxlength'=>'10')) !!}
{!! Form::text('ship_from_email_address', 'shipment@servercenter.ca', array('class'=>'form-control', 'id'=>'ship_from_email_address', 'required'=>'required')) !!}
{!! Form::text('ship_from_address', $result['ship_from_address'], array('class'=>'form-control', 'id'=>'ship_from_address', 'required'=>'required')) !!}
{!! Form::text('ship_from_city', $result['ship_from_city'], array('class'=>'form-control', 'id'=>'ship_from_city', 'required'=>'required')) !!}
{!! Form::text('ship_from_postal_code', $result['ship_from_postal_code'], array('class'=>'form-control', 'id'=>'ship_from_postal_code', 'required'=>'required', 'maxlength'=>'7')) !!}
{!! Form::text('ship_from_model_number', '', array('class'=>'form-control', 'id'=>'ship_from_model_number', 'required'=>'required')) !!}


Ship To
{!! Form::text('ship_to_name', $ship_to_name, array('class'=>'form-control', 'id'=>'ship_to_name', 'required'=>'required')) !!}
{!! Form::text('ship_to_contact_name', $ship_to_name, array('class'=>'form-control', 'id'=>'ship_to_contact_name', 'required'=>'required')) !!}
{!! Form::text('ship_to_email_address', $result['leadsData']->customers_email_address, array('class'=>'form-control', 'id'=>'ship_to_email_address', 'required'=>'required')) !!}
{!! Form::text('ship_to_phone_number', $result['leadsData']->customers_telephone, array('class'=>'form-control', 'id'=>'ship_to_phone_number', 'required'=>'required', 'maxlength'=>'10')) !!}
{!! Form::text('ship_to_address', $result['leadsData']->other_address, array('class'=>'form-control', 'id'=>'ship_to_address', 'required'=>'required')) !!}
{!! Form::text('ship_to_city', $result['leadsData']->o_city, array('class'=>'form-control', 'id'=>'ship_to_city', 'required'=>'required')) !!}
{!! Form::text('ship_to_postal_code', $result['leadsData']->o_postal_code, array('class'=>'form-control', 'id'=>'ship_to_postal_code', 'required'=>'required', 'maxlength'=>'7')) !!}


Package Information
{!! Form::text('package_description', '1 STB', array('class'=>'form-control', 'id'=>'package_description', 'required'=>'required')) !!}
{!! Form::text('package_length', '17', array('class'=>'form-control', 'id'=>'package_length', 'required'=>'required')) !!}
{!! Form::text('package_width', '13', array('class'=>'form-control', 'id'=>'package_width', 'required'=>'required')) !!}
{!! Form::text('package_height', '1', array('class'=>'form-control', 'id'=>'package_height', 'required'=>'required')) !!}
{!! Form::text('package_weight', '1', array('class'=>'form-control', 'id'=>'package_weight', 'required'=>'required')) !!}


Product Information
{!! Form::text('product_description', '1 STB Power Adapter Remote andHDMI', array('class'=>'form-control', 'id'=>'product_description', 'required'=>'required')) !!}
{!! Form::text('product_value', '60', array('class'=>'form-control', 'id'=>'product_value', 'required'=>'required')) !!}
{!! Form::close() !!} @else

Please contact with SuperAdmin

@endif
@endsection