mivita/resources/views/user/homeparty/_address.blade.php
2020-12-16 20:03:51 +01:00

71 lines
No EOL
2.6 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 }}
@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 }}
@endif
</p>
@endif
@else
<p>Keine Adresse angelegt</p>
@endif
@endif