133 lines
5 KiB
PHP
133 lines
5 KiB
PHP
<div class="modal-content">
|
||
<div class="modal-header">
|
||
<h5 class="modal-title">
|
||
{{__('Business')}} {{__('Berater')}}<br>
|
||
@if(isset($user))
|
||
<span class="font-weight-light">{{ $user->account->first_name }} {{ $user->account->last_name }} <a class="font-weight-normal" href="mailto:{{ $user->email }}">{{ $user->email }}</a></span>
|
||
@endif
|
||
</h5>
|
||
<button type="button" class="close" data-dismiss="modal" aria-label="Close">×</button>
|
||
</div>
|
||
<div class="modal-body modal-body-overflow">
|
||
<table class="table user-view-table m-0">
|
||
<tbody>
|
||
<tr>
|
||
<td>{{ __('Company name') }}:</td>
|
||
<td> {{ $user->account->company }} </td>
|
||
</tr>
|
||
<tr>
|
||
<td>{{ __('Salutation') }}:</td>
|
||
<td>{{ \App\Services\HTMLHelper::getSalutationLang($user->account->salutation) }}</td>
|
||
</tr>
|
||
<tr>
|
||
<td>{{ __('First name') }}:</td>
|
||
<td>{{ $user->account->first_name }}</td>
|
||
</tr>
|
||
<tr>
|
||
<td>{{ __('Last name') }}:</td>
|
||
<td>{{ $user->account->last_name }}</td>
|
||
</tr>
|
||
<tr>
|
||
<td>{{ __('Street') }} / {{ __('House number') }}:</td>
|
||
<td>{{ $user->account->address }}</td>
|
||
</tr>
|
||
<tr>
|
||
<td>{{ __('Flat Building optional') }}:</td>
|
||
<td>{{ $user->account->address_2 }}</td>
|
||
</tr>
|
||
<tr>
|
||
<td>{{ __('Postcode') }}:</td>
|
||
<td>{{ $user->account->zipcode }}</td>
|
||
</tr>
|
||
<tr>
|
||
<td>{{ __('City') }}:</td>
|
||
<td>{{ $user->account->city }}</td>
|
||
</tr>
|
||
<tr>
|
||
<td>{{ __('Country') }}:</td>
|
||
<td>{{ $user->account->country->getLocated() }}</td>
|
||
</tr>
|
||
<tr>
|
||
<td>{{ __('Date of birth') }}:</td>
|
||
<td>{{ $user->account->birthday }}</td>
|
||
</tr>
|
||
<tr>
|
||
<td>{{ __('Phone') }}:</td>
|
||
<td>{{ $user->account->getPhoneFull() }}</td>
|
||
</tr>
|
||
<tr>
|
||
<td>{{ __('Mobile Phone') }}:</td>
|
||
<td>{{ $user->account->getMobilFull() }}</td>
|
||
</tr>
|
||
<tr>
|
||
<td>{{ __('E-Mail') }}:</td>
|
||
<td>{{ $user->email }}</td>
|
||
</tr>
|
||
<tr>
|
||
</tr>
|
||
@if($user->account->same_as_billing)
|
||
<tr>
|
||
<td colspan="2">{{__('email.checkout_mail_same_address')}}</td>
|
||
</tr>
|
||
@else
|
||
<tr>
|
||
<td colspan="2">{{ __('account.delivery_address') }}</td>
|
||
</tr>
|
||
<tr>
|
||
<td>{{ __('Company name') }}:</td>
|
||
<td> {{ $user->account->shipping_company }} </td>
|
||
</tr>
|
||
<tr>
|
||
<td>{{ __('Salutation') }}:</td>
|
||
<td>{{ \App\Services\HTMLHelper::getSalutationLang($user->account->shipping_salutation) }}</td>
|
||
</tr>
|
||
<tr>
|
||
<td>{{ __('First name') }}:</td>
|
||
<td>{{ $user->account->shipping_firstname }}</td>
|
||
</tr>
|
||
<tr>
|
||
<td>{{ __('Last name') }}:</td>
|
||
<td>{{ $user->account->shipping_lastname }}</td>
|
||
</tr>
|
||
<tr>
|
||
<td>{{ __('Street') }} / {{ __('House number') }}:</td>
|
||
<td>{{ $user->account->shipping_address }}</td>
|
||
</tr>
|
||
<tr>
|
||
<td>{{ __('Flat Building optional') }}:</td>
|
||
<td>{{ $user->account->shipping_address_2 }}</td>
|
||
</tr>
|
||
<tr>
|
||
<td>{{ __('Postcode') }}:</td>
|
||
<td>{{ $user->account->shipping_zipcode }}</td>
|
||
</tr>
|
||
<tr>
|
||
<td>{{ __('City') }}:</td>
|
||
<td>{{ $user->account->shipping_city }}</td>
|
||
</tr>
|
||
<tr>
|
||
<td>{{ __('Country') }}:</td>
|
||
<td>{{ $user->account->shipping_country->getLocated() }}</td>
|
||
</tr>
|
||
<tr>
|
||
<td>{{ __('Phone') }}:</td>
|
||
<td>{{ $user->account->getShippingPhoneFull() }}</td>
|
||
</tr>
|
||
|
||
|
||
<tr>
|
||
@endif
|
||
</tbody>
|
||
</table>
|
||
</div>
|
||
<div class="modal-footer">
|
||
<button type="button" class="btn btn-default" data-dismiss="modal">{{ __('close') }}</button>
|
||
</div>
|
||
<script>
|
||
$( document ).ready(function() {
|
||
|
||
});
|
||
</script>
|
||
</div>
|
||
|
||
|