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

View Contact
@if(User::checkCategoryPermission('Contacts','Edit')) Edit @endif Close

@include('includes.errors') @include('includes.success')
Account Details
{{$contact->NamePrefix}} {{$contact->FirstName}}
{{$contact->LastName}}
@if(isset($contact_owner->AccountType)) @if( $contact_owner->AccountType == 0) {{$contact_owner->FirstName}} {{$contact_owner->LastName}} @else {{$contact_owner->AccountName}} @endif @endif
{{$contact->Title}}
{{$contact->Email}}
{{$contact->Department}}
{{$contact->Phone}}
{{$contact->HomePhone}}
{{$contact->OtherPhone}}
{{$contact->Fax}}
{{$contact->Mobile}}
{{date("d-m-Y",strtotime($contact->DateOfBirth))}}
@if( $contact->EmailOptOut == 1 ) Yes @else No @endif
{{$contact->Skype}}
{{$contact->SecondaryEmail}}
@ {{$contact->Twitter}}
Description
{{$contact->Description}}
Address Information
{{$contact->Address1}}
{{$contact->City}}
{{$contact->Address2}}
{{$contact->PostCode}}
{{$contact->Address3}}
{{$contact->Country}}
Notes
@if(User::checkCategoryPermission('Contacts','Add'))
@endif
@if(count($notes)>0) @foreach($notes as $note) @endforeach @endif
Action Note
@if(User::checkCategoryPermission('Contacts','Delete')) @endif @if(User::checkCategoryPermission('Contacts','Edit')) @endif

{{$note->Note}}

{{$note->created_by}}   {{date( "d/m/Y H:i A", strtotime($note->created_at))}}
@include('includes.submit_note_script',array("controller"=>"contacts")) @stop