@extends('admin.layouts.app') @section('title', 'Lead View') @section('content') @php($business_id = Auth::guard('admin')->user()->business_id) @php($currecy = DB::table('about_businesses')->join('currency_countries', 'about_businesses.base_currency', '=', 'currency_countries.currency_country_uuid')->where('business_id', $business_id)->select('currency_countries.country_code')->first())

Lead View

view and manage a lead in detail, you will get a 360 degree view on the lead, communication and any notes or activities recorded.
@if(!empty($show->thumbnail) && file_exists('uploads/leads/thumbnail/'.$show->thumbnail)) @else
@php($lead = $show->lead_name) @php($lead_upper =strtoupper($lead)) @php($lead_name=explode(" ",$lead_upper)) @if(!empty($lead_name)) @if(!empty($lead_name[0])) @if(!empty($lead_name[1])) {{ $lead_name[0][0].$lead_name[1][0] }} @else {{ $lead_name[0] }} @endif @endif @else {{ 'N/A' }} @endif
@endif
{{ !empty($show->lead_code) ? $show->lead_code : trans('general.undefined') }}
@if(!empty($show->lead_rating)) @foreach ($lead_ratings as $key=>$value ) @if($key==$show->lead_rating) {{ $value }} @endif @endforeach @else {{trans('general.undefined')}} @endif
{{ !empty($currecy) ? $currecy->country_code : 'USD' }} @if(!empty($show->lead_value)) {{ !empty($business->amt_decimal) ? number_format($show->lead_value, $business->amt_decimal) : $show->lead_value }} @else {{trans('general.undefined')}} @endif Projected Value
@if(!empty($show->lead_expiry)) {{ $show->lead_expiry}} @else
{{trans('general.undefined')}}
@endif
Lead Expiry

{{ !empty($show->lead_name) ? $show->lead_name : trans('general.undefined')}}

{{ !empty($show->company_name) ? $show->company_name : trans('general.undefined')}}      {{ !empty($show->project_location) ? $show->project_location : trans('general.undefined') }} {{$show->industry_type}}@if(!empty($show->business_type) || !is_null($show->business_type)) , {{$show->business_type}} @endif
Lead Options
{{--LEAD STAGES PIPELINE --}}
@if(count($lead_stages)>4) @endif
@if(!is_null($lead_stages) && !empty($lead_stages)) @php($done_class = 'done') @php($no_event_pointer ='') @foreach($lead_stages as $lead_stage) @if($show->lead_status == $lead_stage->leadstage_uuid) @php($each_stage = '') @else @php($each_stage = 'each_stage1') @endif
{{ $lead_stage->title }}
@if($lead_stage->leadstage_uuid == $show->lead_status) @php($done_class = '') @endif @endforeach @endif
Lead Contact
Department
{{ !empty($show->lead_contact_department) ? $show->lead_contact_department : trans('general.undefined') }}
Email
Telephone
{{ !empty($show->lead_contact_telephone) ? $show->lead_contact_telephone : trans('general.undefined') }}
Mobile
{{ !empty($show->lead_contact_mobile) ? $show->lead_contact_mobile : trans('general.undefined') }}
Status
{{ !empty($lead_active_stage) ? $lead_active_stage->title : trans('general.undefined') }}
City
{{ !empty($cities) ? $cities->name : trans('general.undefined') }}
Country
{{ !empty($countries) ? $countries->name : trans('general.undefined') }}
State
{{ !empty($states) ? $states->name : trans('general.undefined') }}
Address
{{ !empty($show->lead_business_address) ? $show->lead_business_address : trans('general.undefined') }}
Zipcode
{{ !empty($show->zipcode) ? $show->zipcode : trans('general.undefined') }}
Lead Source
{{ !empty($show->lead_source) ? $show->lead_source : trans('general.undefined') }}
@include('admin.bottom.messages')
@include('admin.bottom.task_view')
@include('admin.bottom.files')
@include('admin.bottom.notes')
@include('admin.bottom.logs')
{{--SETIINGS WRAP--}}

Are You Sure?

Your recently changed data in this model will be lost.

{{-- END img upload --}} @include('admin.common-modals.note'); @include('admin.common-modals.upload-file'); @include('admin.common-modals.mail-view'); @include('admin.bottom.file_viewer'); @include('admin.common-modals.newmessage'); @stop @section('styles') @stop @section('admin_js') @include('admin.leads.js.view') @include('admin.common-js.common') @stop