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

{{ $pageTitle }}

{!! Form::open(array('url'=>'ebaysellingpolicy/save?return='.$return, 'class'=>'mainForm form-horizontal','files' => true , 'parsley-validate'=>'','novalidate'=>' ')) !!}
{!! Form::hidden('id', $row['id'],array('class'=>'form-control', 'placeholder'=>'', )) !!}
{!! Form::text('sellingTemplateName', $row['sellingTemplateName'],array('class'=>'form-control', 'required'=>'required', )) !!}
{!! Form::select('listingType',$helper->getListingTypes(), $row['listingType'], array('class'=>'form-control', 'required'=>'required', )) !!}
{!! Form::select('listingDuration', $helper->getListingDuration(), $row['listingDuration'],array('class'=>'form-control', 'required'=>'required', )) !!}
{!! Form::select('qtyMode', $helper->getListingQtyMode(), $row['qtyMode'],array('class'=>'form-control', 'required'=>'required', )) !!}
{!! Form::select('qtyAttribute', $helper->getAllAttributes(), $row['qtyAttribute'],array('class'=>'form-control', )) !!}
{!! Form::text('qtyValue', $row['qtyValue'],array('class'=>'form-control', 'placeholder'=>'', )) !!}
{!! Form::select('qtyPercent', $helper->getQtyPercentage(), $row['qtyPercent'],array('class'=>'form-control', )) !!}
{!! Form::select('useEbayTaxTable',array('0'=>'No','1'=>'Yes'), $row['useEbayTaxTable'],array('class'=>'form-control', )) !!}
{!! Form::select('priceAttribute',$helper->getAllAttributes(), $row['priceAttribute'],array('class'=>'form-control', )) !!}
{!! Form::select('priceChangeMode', $helper->getPriceChangeMode(), $row['priceChangeMode'],array('class'=>'form-control', )) !!}
{!! Form::text('priceChangeCoefficient', $row['priceChangeCoefficient'],array('class'=>'form-control', 'placeholder'=>'', )) !!}
{!! Form::select('strikePriceAttribute', $helper->getAllAttributes('None'), $row['strikePriceAttribute'],array('class'=>'form-control', )) !!}
{!! Form::select('variantPriceMode', $helper->getVariationPriceModes(), $row['variantPriceMode'],array('class'=>'form-control', )) !!}
{!! Form::select('reservePriceAttribute',$helper->getAllAttributes('None'), $row['reservePriceAttribute'],array('class'=>'form-control', )) !!}
{!! Form::select('reservePriceMode', $helper->getPriceChangeMode(), $row['reservePriceMode'],array('class'=>'form-control')) !!}
{!! Form::text('reservePriceCoefficient', $row['reservePriceCoefficient'],array('class'=>'form-control', 'placeholder'=>'', )) !!}
{!! Form::select('buyItNowAttribute',$helper->getAllAttributes('None'), $row['buyItNowAttribute'],array('class'=>'form-control' )) !!}
{!! Form::select('buyItNowMode', $helper->getPriceChangeMode(), $row['buyItNowMode'],array('class'=>'form-control')) !!}
{!! Form::text('buyItNowCoefficient', $row['buyItNowCoefficient'],array('class'=>'form-control', 'placeholder'=>'', )) !!}
{!! Form::select('bestOfferMode', array('0'=>'No','1'=>'Yes'),$row['bestOfferMode'],array('class'=>'form-control', )) !!}
{!! Form::select('bestOfferAcceptMode',$helper->getBestOfferSelect(), $row['bestOfferAcceptMode'],array('class'=>'form-control')) !!}
{!! Form::select('bestOfferAcceptAttribute', $helper->getAllAttributes(), $row['bestOfferAcceptAttribute'],array('class'=>'form-control', 'placeholder'=>'')) !!}
{!! Form::text('bestOfferAcceptValue', $row['bestOfferAcceptValue'],array('class'=>'form-control', 'placeholder'=>'', )) !!}
%
{!! Form::select('bestOfferRejectMode',$helper->getBestOfferSelect(), $row['bestOfferRejectMode'],array('class'=>'form-control',)) !!}
{!! Form::select('bestOfferRejectAttribute', $helper->getAllAttributes(), $row['bestOfferRejectAttribute'],array('class'=>'form-control', 'placeholder'=>'', )) !!}
{!! Form::text('bestOfferRejectValue', $row['bestOfferRejectValue'],array('class'=>'form-control', 'placeholder'=>'', )) !!}
{!! Form::close() !!}
@stop