@extends ('../welcome') @section('content')
| Type: | {{ $inquiry->inqType?->name ?? '' }} | |
|---|---|---|
| Number: | {{ $inquiry->number }} | |
| Location: | {{ $inquiry->location }} | |
| Broker: | @if (auth()->user()->type == 'admin' || auth()->user()->role->hasPermission('brokers-show')){{ $inquiry->broker?->name ?? '' }} | @else{{ $inquiry->broker?->name ?? '' }} | @endif
| Lead: | @if (auth()->user()->type == 'admin' || auth()->user()->role->hasPermission('leads-show')){{ $inquiry->lead?->name ?? '' }} | @else{{ $inquiry->lead?->name ?? '' }} | @endif
| Campaign: | @if (auth()->user()->type == 'admin' || auth()->user()->role->hasPermission('campaigns-show')){{ $inquiry->campaign?->name ?? '' }} | @else{{ $inquiry->campaign?->name ?? '' }} | @endif
| Source: | @if (auth()->user()->type == 'admin' || auth()->user()->role->hasPermission('sources-show')){{ $inquiry->source?->name ?? '' }} | @else{{ $inquiry->source?->name ?? '' }} | @endif
| Assigned To: | @if (auth()->user()->type == 'admin' || auth()->user()->role->hasPermission('users-show')){{ $inquiry->user?->name ?? '' }} | @else{{ $inquiry->user?->name ?? '' }} | @endif
| Description: | {{ $inquiry->description ?? '' }} |