Személyes adatok:
@if (!auth()->guard('customer')->user())
@endif
Számlázási cím:
@php
if($user) {
$billing_address = $user->address ?? null;
$shipping_address = $user->shipping_address ?? null;
if (isset($billing_address) && isset($shipping_address) && $billing_address->id == $shipping_address->id) {
$shipping_address = null;
$different_shipping_address = false;
}
}
@endphp
{{-- Számlázási cím --}}