@extends('layout.main') @section('content')

View Lead
@if(User::checkCategoryPermission('Leads','Convert')) Convert to Account @endif @if(User::checkCategoryPermission('Leads','Edit')) Clone Edit @endif Close

@include('includes.errors') @include('includes.success')
Lead Information
@if(isset($lead_owner->FirstName)){{$lead_owner->FirstName}} {{$lead_owner->LastName}}@endif
{{$lead->AccountName}}
{{$lead->FirstName}}
{{$lead->LastName}}
{{$lead->Title}}
{{$lead->Email}}
{{$lead->Phone}}
{{$lead->Fax}}
{{$lead->Mobile}}
{{$lead->Website}}
{{$lead->LeadSource}}
{{$lead->LeadStatus}}
{{$lead->Rating}}
{{$lead->Employee}}
@if( $lead->EmailOptOut == 1 ) Yes @else No @endif
{{$lead->Skype}}
{{$lead->SecondaryEmail}}
@ {{$lead->Twitter}}
@if($lead->Status == 1 ) Active @else Inactive @endif
{{$lead->VatNumber}}
Description
{{$lead->Description}}
Address Information
{{$lead->Address1}}
{{$lead->City}}
{{$lead->Address2}}
{{$lead->PostCode}}
{{$lead->Address3}}
{{$lead->Country}}
Notes
@if(User::checkCategoryPermission('Leads','Add'))
@endif
@if(count($notes)>0) @foreach($notes as $note) @endforeach @endif
Action Note
@if(User::checkCategoryPermission('Leads','Edit')) @endif

{{$note->Note}}

{{$note->created_by}}   {{date( "d/m/Y H:i A", strtotime($note->created_at))}}
Contacts
@if(count($contacts)>0) @foreach($contacts as $contact) @endforeach @endif
Contact Name Phone Email Actions
{{$contact->NamePrefix}} {{$contact->FirstName}} {{$contact->LastName}} {{$contact->Phone}} {{$contact->Email}} @if(User::checkCategoryPermission('Contacts','Edit')) Edit @endif @if(User::checkCategoryPermission('Contacts','View')) View @endif @if($contact->IsVendor) Vendor @endif @if($contact->IsCustomer) Customer @endif

@if(User::checkCategoryPermission('Contacts','Add')) $lead->AccountID))}}" class="btn btn-primary "> Add New @endif

@include('includes.submit_note_script',array("controller"=>"leads")) @stop