@if(count($response)) @if($response_data['type']==Task::Mail)
  • @if($response_data['CreatedBy']==$current_user_title) You @else {{$response_data['CreatedBy']}} @endif sent an email to @if($response_data['EmailTo']==$current_user_title) You @else {{$response_data['EmailTo']}} @endif

    Subject: {{$response_data['Subject']}}

    @if($response_data['Cc'])

    CC: {{$response_data['Cc']}}

    @endif @if($response_data['Bcc'])

    BCC: {{$response_data['Bcc']}}

    @endif

    Message:
    {{$response_data['Message']}}.

    View Conversation

  • @elseif($response_data['type']==Task::Note)
  •  

    @if($response_data['created_by']==$current_user_title) You @else {{$response_data['created_by']}} @endif added a note

    {{$response_data['Note']}}

  • @endif
  •  

    @if($response->Priority=='High') @endif @if($response->created_by==$current_user_title && $response->Name==$current_user_title)You created a follow up task @elseif ($response->created_by==$current_user_title && $response->Name!=$current_user_title)You assigned follow up task to {{$response->Name}} @elseif ($response->created_by!=$current_user_title && $response->Name==$current_user_title) {{$response->created_by}} assigned follow up task to you @else {{$response->created_by}} assigned follow up task to {{$response->Name}} @endif

    Subject: {{$response->Subject}}

    Assigned To: {{$response->Name}}

    priority: {{$response->Priority}}

    @if($response->DueDate!='' && $response->DueDate!='0000-00-00 00:00:00')

    Due Date: {{$response->DueDate}}

    @endif

    Status: {{$response->TaskStatus}}.

    Description: {{$response->Description}}

  • @endif