@extends(EcommerceHelper::viewPath('customers.master'))
@section('content')
{!! Form::open(['route' => 'customer.address.create']) !!}
{{ __('Full Name') }}:
{!! Form::error('name', $errors) !!}
{{ __('Email') }}:
{!! Form::error('email', $errors) !!}
{{ __('Phone') }}:
{!! Form::text('phone', old('phone'), ['id' => 'phone', 'class' => 'form-control']) !!}
{!! Form::error('phone', $errors) !!}
@if (EcommerceHelper::isUsingInMultipleCountries())
{!! Form::error('country', $errors) !!}
@else
@endif
{{ __('State') }}:
@if (EcommerceHelper::loadCountriesStatesCitiesFromPluginLocation())
@else
@endif
{!! Form::error('state', $errors) !!}
{{ __('City') }}:
@if (EcommerceHelper::loadCountriesStatesCitiesFromPluginLocation())
@else
@endif
{!! Form::error('city', $errors) !!}
{{ __('Address') }}:
{!! Form::error('address', $errors) !!}
@if (EcommerceHelper::isZipCodeEnabled())
{!! Form::error('zip_code', $errors) !!}
@endif
{!! Form::error('is_default', $errors) !!}
{!! Form::close() !!}
@endsection