@if (!EcommerceHelper::isHideCustomerInfoAtCheckout())
@if (auth('customer')->check())

الحساب: {{ auth('customer')->user()->name }} - {!! Html::email(auth('customer')->user()->email) !!} (تسجيل الخروج)

@else

هل لديك حساب بالفعل؟ تسجيل الدخول

@endif
@endif {!! apply_filters('ecommerce_checkout_address_form_before') !!} @auth('customer')
@if ($isAvailableAddress) @endif @php $oldSessionAddressId = old('address.address_id', $sessionAddressId); @endphp

@if ($isAvailableAddress && $oldSessionAddressId != 'new') @if ($oldSessionAddressId && $addresses->contains('id', $oldSessionAddressId)) @include('plugins/ecommerce::orders.partials.address-item', [ 'address' => $addresses->firstWhere('id', $oldSessionAddressId), ]) @elseif ($defaultAddress = get_default_customer_address()) @include('plugins/ecommerce::orders.partials.address-item', [ 'address' => $defaultAddress, ]) @else @include('plugins/ecommerce::orders.partials.address-item', [ 'address' => Arr::first($addresses), ]) @endif @endif
@if ($isAvailableAddress) @foreach ($addresses as $address)
@include( 'plugins/ecommerce::orders.partials.address-item', compact('address'))
@endforeach @endif
@endauth
{{-- Hidden auto-filled fields --}} @if (!auth('customer')->check()) @else @endif {{-- Custom Iraq Address Form - Full Width Inputs & Top Labels --}}
{{-- Name --}}
@error('address.name')
{{ $message }}
@enderror
{{-- Phone 1 (Iraq) --}}
+964
@error('address.phone')
{{ $message }}
@enderror
{{-- Phone 2 (Iraq) --}}
+964
@error('address.phone2')
{{ $message }}
@enderror
{{-- State (Governorate) --}}
@error('address.state')
{{ $message }}
@enderror
{{-- Region Text (Address) --}}
@error('address.address')
{{ $message }}
@enderror
{{-- Notes --}}
@error('address.notes')
{{ $message }}
@enderror
{{-- Phone Input Protection & Event Handler --}}
@if (!auth('customer')->check())
{!! Form::error('password', $errors) !!}
{!! Form::error('password_confirmation', $errors) !!}
@endif {!! apply_filters('ecommerce_checkout_address_form_after', null, $sessionCheckoutData) !!}