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

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

    @if($response->Cc)

    CC: {{$response->Cc}}

    @endif @if($response->Bcc)

    BCC: {{$response->Bcc}}

    @endif

    Message:
    {{$response->Message}}.

    View Conversation

  • @elseif($response->type==Task::Tasks)
     

    @if($response->Priority=='High') @endif @if($response->created_by==$current_user_title && $response->Name==$current_user_title)You created a @if($response->followup_task) follow up @endif task @elseif ($response->created_by==$current_user_title && $response->Name!=$current_user_title)You assigned task to {{$response->Name}} @elseif ($response->created_by!=$current_user_title && $response->Name==$current_user_title) {{$response->created_by}} assigned task to You @else {{$response->created_by}} assigned 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}}

    @elseif($response->type==Task::Note)

    {{$response->Note}}

    @endif @endif