@section('page_slug', 'account-address') @section('page_title', __('firstcop.account.my_address.title')) @extends('account.layout') @section('account.content')
@csrf
@if ($errors->has('firstname')) {{ $errors->first('firstname') }} @endif
@if ($errors->has('lastname')) {{ $errors->first('lastname') }} @endif
@if ($errors->has('address1')) {{ $errors->first('address1') }} @endif
@if ($errors->has('address2')) {{ $errors->first('address2') }} @endif
@if ($errors->has('city')) {{ $errors->first('city') }} @endif
@if ($errors->has('postalCode')) {{ $errors->first('postalCode') }} @endif
@if ($errors->has('phone')) {{ $errors->first('phone') }} @endif
{{Form::select('country', $countryList, $address->country??'France', ['class' => ['w-full p-2']])}}
@if ($errors->has('country')) {{ $errors->first('country') }} @endif
{{----}}
default & \App\Models\Address::isShipping) checked="checked" @endif value="1">
default & \App\Models\Address::isBilling) checked="checked" @endif name="default_billing" value="1">
@endsection