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