@includeIf('layouts.components.btn_status', [ 'form_route' => route('customers.update', $customer->id), 'select_id' => $customer->status->value, 'allow_statuses' => [ 1 => 'Aktiv', 0 => 'Inaktiv', // 2 => 'Storniert', // 3 => 'Abgebrochen', // 4 => 'Reaktiviert', // 5 => 'Archiviert', // 6 => 'Abgeschlossen', // 7 => 'Fehlerhaft', ], ])
Kunden Nr.: {{ $customer->KuNr }}
{{-- {{ $customer->title }} {{ $customer->first_name }} {{ $customer->last_name }}
--}} {{ $customer->company }}
{{ $customer->addresses->where('address_type', 'standard')->first()->street ?? '' }}
{{ $customer->addresses->where('address_type', 'standard')->first()->zip_code ?? '' }} {{ $customer->addresses->where('address_type', 'standard')->first()->city ?? ''}}
@isset( $customer->contacts->where('contact_type', 'main')->first()->phonenumber ) @endisset @isset( $customer->contacts->where('contact_type', 'main')->first()->email ) @endisset