@extends('layouts.app') @section('content')

{{ $pageTitle }}

{!! Form::open(array('url'=>'ebayshippingpolicy/save?return='.$return, 'class'=>'form-horizontal mainForm','files' => true , 'parsley-validate'=>'','novalidate'=>' ')) !!}
{!! Form::hidden('id', $row['id'],array('class'=>'form-control', 'placeholder'=>'', )) !!}
{!! Form::text('shippingTemplateName', $row['shippingTemplateName'],array('class'=>'form-control', 'placeholder'=>'', 'required'=>'required' )) !!}
{{--
{!! Form::select('shippingValuesType', $helper->shippingValuesType(),$row['shippingValuesType'] ,array('class'=>'form-control selectToggleDiv', 'required'=>'required')) !!}
--}}
{!! Form::select('handlingTimeValue', $helper->getHandlingTimes(), $row['handlingTimeValue'],array('class'=>'form-control', 'placeholder'=>'', 'required' => 'required' )) !!}
{!! Form::text('shippingCountry', $row['shippingCountry'],array('class'=>'form-control', 'placeholder'=>'','required'=>'required' )) !!}
{!! Form::text('shippingZip', $row['shippingZip'],array('class'=>'form-control', 'placeholder'=>'','required'=>'required' )) !!}
{!! Form::text('shippingCityState', $row['shippingCityState'],array('class'=>'form-control', 'placeholder'=>'', 'required'=>'required' )) !!}
Domestic Shipping
{!! Form::select('shippingTypeId',$helper->getShippingTypes(), $row['shippingTypeId'],array('class'=>'form-control toggleSel','required' => 'required','data-toggle'=> 'shippingTypeId' )) !!}
@foreach($currentShippingMethodsFlat as $key => $thisMethod) @php $key += 1; @endphp @endforeach
Service Mode Cost Additional Cost Priority
{!! Form::select('shipArray[costMode]['.$key.']',$helper->shippingModeSelectArray(),$thisMethod->costMode,['class'=>'toggleCost existing','inputCounter' => $key]) !!} @if($thisMethod->costMode == 0) @elseif($thisMethod->costMode == 1) @elseif($thisMethod->costMode == 2) {!! Form::select('shipArray[costAttribute]['.$key.']',$allAttributes,$thisMethod->costAttribute) !!} @endif @if($thisMethod->costMode == 0 || $thisMethod->costMode == 1) @elseif($thisMethod->costMode == 2) {!! Form::select('shipArray[costAdditionalAttribute]['.$key.']',$allAttributes,$thisMethod->costAdditionalAttribute) !!} @endif Delete
Add New Method
@foreach($currentShippingMethodsCalc as $key => $thisMethod) @php $key += 1; @endphp @endforeach
Service Mode Priority
{!! Form::select('shipArray[costMode]['.$key.']',$helper->shippingModeCalcSelectArray(),$thisMethod->costMode, ['class'=>'toggleCostCalc']) !!} @if($thisMethod->priority == 0) @else @endif Delete
Add New Method
Freight
Specify your own freight Shipping Options in your Item Description.
Local Pick-up
Item is available for local pickup only.
{{--
{!! Form::text('handlingTimeMode', $row['handlingTimeMode'],array('class'=>'form-control', 'placeholder'=>'', )) !!}
--}} {{--
{!! Form::text('handlingTimeAttribute', $row['handlingTimeAttribute'],array('class'=>'form-control', 'placeholder'=>'', )) !!}
--}}
International Shipping @include('ebaytemplateshipping.partials.internationsshipping')
{!! Form::text('excludedLocations', $row['excludedLocations'],array('class'=>'form-control', 'placeholder'=>'', )) !!}
Package Information
{!! Form::select('package[dimensionMode]', $helper->getDimensionMode(), $packageRow['dimensionMode'],array('class'=>'form-control','toggle-name'=>'dimensionMode')) !!}
{!! Form::text('package[dimensionWidthValue]', $packageRow['dimensionWidthValue'],array()) !!} x {!! Form::text('package[dimensionHeightValue]', $packageRow['dimensionHeightValue'],array()) !!} x {!! Form::text('package[dimensionDepthValue]', $packageRow['dimensionDepthValue'],array()) !!} inches
{!! Form::select('package[dimensionWidthAttribute]', $helper->getAllAttributes(), $packageRow['dimensionWidthAttribute'],array()) !!} x {!! Form::select('package[dimensionHeightAttribute]', $helper->getAllAttributes(), $packageRow['dimensionHeightAttribute'],array()) !!} x {!! Form::select('package[dimensionDepthAttribute]', $helper->getAllAttributes(), $packageRow['dimensionDepthAttribute'],array()) !!} inches
{!! Form::select('package[packageSizeMode]',$helper->getPackageSizeModes(), $packageRow['packageSizeMode'],array('class'=>'form-control','toggle-name'=> 'packageSizeMode' )) !!}
{!! Form::text('package[packageSizeValue]', $packageRow['packageSizeValue'],array('class'=>'form-control')) !!}
{!! Form::select('package[packageSizeAttribute]',$helper->getAllAttributes(), $packageRow['packageSizeAttribute'],array('class'=>'form-control')) !!}
{!! Form::select('package[weightMode]',$helper->getWeightModes(), $packageRow['weightMode'],array('class'=>'form-control','toggle-name'=> 'weightMode' )) !!}
{!! Form::text('package[weightMajorValue]', $packageRow['weightMajorValue'],array()) !!} {!! Form::text('package[weightMinorValue]', $packageRow['weightMinorValue'],array()) !!} lbs. oz.
{!! Form::select('package[weightMajorAttribute]', $helper->getAllAttributes(), $packageRow['weightMajorAttribute'],array()) !!} {!! Form::select('package[weightMinorAttribute]', $helper->getAllAttributes(), $packageRow['weightMinorAttribute'],array()) !!} lbs. oz.
{!! Form::select('package[localHandlingCostMode]',$helper->getLocalHandlingCostModes(), $packageRow['localHandlingCostMode'],array('class'=>'form-control toggleCost','toggle-name'=> 'localHandlingCostMode' )) !!}
$
{!! Form::text('package[localHandlingCostValue]', $packageRow['localHandlingCostValue'],array()) !!}
{!! Form::select('package[localHandlingCostAttribute]', $helper->getAllAttributes(), $packageRow['localHandlingCostAttribute'],array('class'=>'form-control')) !!}
{!! Form::close() !!}
@stop