{{-- HEADER --}} {{-- ACTIONS --}} | | @can('edit crm people') @endcan @can('delete crm people') @endcan
{{ ucfirst(__('laravel-crm::lang.first_name')) }} {{ $person->first_name }}
{{ ucfirst(__('laravel-crm::lang.middle_name')) }} {{ $person->middle_name }}
{{ ucfirst(__('laravel-crm::lang.last_name')) }} {{ $person->last_name }}
{{ ucfirst(__('laravel-crm::lang.gender')) }} {{ ucfirst($person->gender) }}
{{ ucfirst(__('laravel-crm::lang.birthday')) }} {{ ucfirst($person->birthday) }}
{{ ucfirst(__('laravel-crm::lang.description')) }} {{ $person->description }}
@foreach($person->phones as $phone)
{{ ucfirst($phone->type) }} {{ ucfirst(__('laravel-crm::lang.phone')) }} {{ $phone->number }} {{ ($phone->primary) ? '(Primary)' : null }}
@endforeach @foreach($person->emails as $email)
{{ ucfirst($email->type) }} {{ ucfirst(__('laravel-crm::lang.email')) }} {{ $email->address }} {{ ($email->primary) ? '(Primary)' : null }}
@endforeach @foreach($person->addresses as $address)
{{ ($address->addressType) ? ucfirst($address->addressType->name).' ' : null }}{{ ucfirst(__('laravel-crm::lang.address')) }} {{ \VentureDrake\LaravelCrm\Http\Helpers\AddressLine\addressSingleLine($address) }} {{ ($address->primary) ? '(Primary)' : null }}
@endforeach
{{ ucfirst(__('laravel-crm::lang.labels')) }} @foreach($person->labels as $label) @endforeach
{{ ucfirst(__('laravel-crm::lang.owner')) }} @if( $person->ownerUser){{ $person->ownerUser->name ?? null }} @else {{ ucfirst(__('laravel-crm::lang.unallocated')) }} @endif
{{-- --}}