mivita/resources/views/user/homeparty/_address.blade.php
2026-01-23 17:35:23 +01:00

79 lines
No EOL
3.1 KiB
PHP

@if($homeparty_user)
@if($homeparty_user->isAddress())
@if($homeparty_user->same_as_billing)
<p>
@if($homeparty_user->billing_company)
{{ $homeparty_user->billing_company }}
<br>
@endif
{{ \App\Services\HTMLHelper::getSalutationLang($homeparty_user->billing_salutation) }}
{{ $homeparty_user->billing_firstname }}
{{ $homeparty_user->billing_lastname }}
<br>
{{ $homeparty_user->billing_address }}
<br>
@if($homeparty_user->billing_address_2)
{{ $homeparty_user->billing_address_2 }}
<br>
@endif
{{ $homeparty_user->billing_zipcode }}
{{ $homeparty_user->billing_city }}
<br>
@if($homeparty_user->billing_country)
{{ $homeparty_user->billing_country->getLocated() }}
<br>
@endif
@if($homeparty_user->billing_email)
{{ __('E-Mail') }}:{{ $homeparty_user->billing_email }}
<br>
@endif
@if($homeparty_user->billing_phone)
Telefon: {{ $homeparty_user->billing_phone }}
<br>
@endif
@if($homeparty_user->shipping_postnumber)
<strong>DHL {{ __('payment.dhl_postnumber') }}: {{ $homeparty_user->shipping_postnumber }}</strong>
@endif
</p>
@else
<p>
@if($homeparty_user->shipping_company)
{{ $homeparty_user->shipping_company }}
<br>
@endif
{{ \App\Services\HTMLHelper::getSalutationLang($homeparty_user->shipping_salutation) }}
{{ $homeparty_user->shipping_firstname }}
{{ $homeparty_user->shipping_lastname }}
<br>
{{ $homeparty_user->shipping_address }}
<br>
@if($homeparty_user->shipping_address_2)
{{ $homeparty_user->shipping_address_2 }}
<br>
@endif
{{ $homeparty_user->shipping_zipcode }}
{{ $homeparty_user->shipping_city }}
<br>
@if($homeparty_user->shipping_country)
{{ $homeparty_user->shipping_country->getLocated() }}
<br>
@endif
@if($homeparty_user->shipping_email)
{{ __('E-Mail') }}:{{ $homeparty_user->shipping_email }}
<br>
@endif
@if($homeparty_user->shipping_phone)
Telefon: {{ $homeparty_user->shipping_phone }}
<br>
@endif
@if($homeparty_user->shipping_postnumber)
<strong>DHL {{ __('payment.dhl_postnumber') }}: {{ $homeparty_user->shipping_postnumber }}</strong>
@endif
</p>
@endif
@else
<p>{{ __('order.no_address_created') }}</p>
@endif
@endif