@extends('admin::layouts.content') @section('page_title') {{ __('admin::app.customers.addresses.create-title') }} @stop @section('content')
{!! view_render_event('admin.customer.addresses.create.before') !!}
@csrf()
@{{ errors.first('company_name') }}
@{{ errors.first('vat_id') }}
@{{ errors.first('first_name') }}
@{{ errors.first('last_name') }}
@{{ errors.first('address1[]') }}
@if (core()->getConfigData('customer.settings.address.street_lines') && core()->getConfigData('customer.settings.address.street_lines') > 1)
@for ($i = 1; $i < core()->getConfigData('customer.settings.address.street_lines'); $i++) @endfor
@endif
@{{ errors.first('city') }}
@include ('admin::customers.country-state', ['countryCode' => old('country') ?? config('app.default_country'), 'stateCode' => old('state') ?? ''])
@{{ errors.first('postcode') }}
@{{ errors.first('phone') }}
{{ __('admin::app.customers.addresses.default-address') }}
{!! view_render_event('admin.customer.addresses.create.after') !!} @stop