@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 form-validate', 'enctype'=>'multipart/form-data')) !!} {!! Form::hidden('table_name', $result['ups_shipping']['ups_description'][0]->table_name , array('class'=>'form-control', 'id'=>'table_name')) !!}
         
{{ trans('labels.ShippingServiceTypeText') }}
@foreach($result['description'] as $description_data)
{{ trans('labels.ShippingmethodName') }} ({{ $description_data['language_name'] }}).
{{trans('labels.NextDayAir') }} ({{ $description_data['language_name'] }}).
{{trans('labels.2ndDayAir') }} ({{ $description_data['language_name'] }}).
{{trans('labels.Ground') }} ({{ $description_data['language_name'] }}).
{{trans('labels.3DaySelect') }} ({{ $description_data['language_name'] }}).
{{trans('labels.NextDayAirSaver') }} ({{ $description_data['language_name'] }}).
{{trans('labels.NextDayAirEarlyAM') }} ({{ $description_data['language_name'] }}).
{{trans('labels.2ndDayAirAM') }} ({{ $description_data['language_name'] }}).
@endforeach
{!! Form::text('access_key', $result['ups_shipping']['ups_shipping'][0]->access_key, array('class'=>'form-control', 'id'=>'access_key'))!!} {{ trans('labels.AccessKeyText') }}
{!! Form::text('user_name', $result['ups_shipping']['ups_shipping'][0]->user_name, array('class'=>'form-control', 'id'=>'user_name'))!!} {{ trans('labels.ShippingUserNameText') }}
{!! Form::text('password', $result['ups_shipping']['ups_shipping'][0]->password, array('class'=>'form-control', 'id'=>'password'))!!} {{ trans('labels.UPSSshippingPassword') }}.
                                                                   
{!! Form::text('address_line_1', $result['ups_shipping']['ups_shipping'][0]->address_line_1, array('class'=>'form-control', 'id'=>'address_line_1'))!!} {{ trans('labels.AddressShippingText') }}
{!! Form::text('state', $result['ups_shipping']['ups_shipping'][0]->state, array('class'=>'form-control', 'id'=>'state'))!!} {{ trans('labels.StateShippingText') }}
{!! Form::text('post_code', $result['ups_shipping']['ups_shipping'][0]->post_code, array('class'=>'form-control', 'id'=>'post_code'))!!} {{ trans('labels.CityShippingText') }}
{!! Form::text('city', $result['ups_shipping']['ups_shipping'][0]->city, array('class'=>'form-control', 'id'=>'city'))!!} {{ trans('labels.CityShippingText') }}
{{ trans('labels.CountryShippingText') }}
{{ trans('labels.ShippingStatus') }}
{!! Form::close() !!}
@endsection