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

{{ trans('labels.UPSShippingSetting') }} {{ trans('labels.Setting') }}...

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

@if (count($errors) > 0) @if($errors->any()) @endif @endif
{!! Form::open(array('url' =>'admin/updateUpsShipping', 'method'=>'post', 'class' => 'form-horizontal', 'enctype'=>'multipart/form-data')) !!}
         
{{ trans('labels.ShippingServiceTypeText') }}
{!! Form::text('title', $result['ups_shipping'][0]->title, array('class'=>'form-control', 'id'=>'title'))!!} {{ trans('labels.ShippingTitleText') }}
{!! Form::text('access_key', $result['ups_shipping'][0]->access_key, array('class'=>'form-control', 'id'=>'access_key'))!!} {{ trans('labels.AccessKeyText') }}
{!! Form::text('user_name', $result['ups_shipping'][0]->user_name, array('class'=>'form-control', 'id'=>'user_name'))!!} {{ trans('labels.ShippingUserNameText') }}
{!! Form::text('password', $result['ups_shipping'][0]->password, array('class'=>'form-control', 'id'=>'password'))!!} {{ trans('labels.UPSSshippingPassword') }}.
                                                                   
{!! Form::text('address_line_1', $result['ups_shipping'][0]->address_line_1, array('class'=>'form-control', 'id'=>'address_line_1'))!!} {{ trans('labels.AddressShippingText') }}
{!! Form::text('state', $result['ups_shipping'][0]->state, array('class'=>'form-control', 'id'=>'state'))!!} {{ trans('labels.StateShippingText') }}
{!! Form::text('post_code', $result['ups_shipping'][0]->post_code, array('class'=>'form-control', 'id'=>'post_code'))!!} {{ trans('labels.CityShippingText') }}
{!! Form::text('city', $result['ups_shipping'][0]->city, array('class'=>'form-control', 'id'=>'city'))!!} {{ trans('labels.CityShippingText') }}
{{ trans('labels.CountryShippingText') }}
{{ trans('labels.ShippingStatus') }}
{!! Form::close() !!}
@endsection