@extends('companyAdmin.layouts.auth') @section('title') {{ env('APP_NAME') }} | Findings Message @endsection @section('styles') @endsection @section('content')

Return to Message - Findings

@if($findings_data->is_approve == 2 ) @endif @if($findings_data->is_approve == 1 ) @endif @if($findings_data->is_approve == 0 )
@csrf
@endif
@if ($errors->any())
@endif

{{ isset($findings_data->title) ? $findings_data->title : '' }}

{{ $users->name }}

{{ $findings_data->submission_date }} ({{ $findings_data->submission_date }})

@csrf
@if( isset($userEarnPoint->earned_point)) @else @endif @if($findings_data->is_approve == 1 && (!isset($userEarnPoint)) ) @endif @if(count($get_companyFindingImage) > 0) @foreach($get_companyFindingImage as $key => $value) @endforeach @endif

{{ isset($findings_data->description) ? $findings_data->description : '' }}

@csrf

Reply

@if($message_array)
Messages:
@foreach($message_array as $key => $thread) @if($thread['sender_type'] == $userRoleType['companyadmin'])
{{ $thread['message'] }}

{{ $thread['created_at'] }}

 

@elseif($thread['sender_type'] == $userRoleType['employee'])
@if(isset($thread['message'])) {{ $thread['message'] }} @endif @if(isset($thread['image'])) @endif

{{ $thread['created_at'] }}

 

@endif @endforeach
@endif
@endsection @section('scripts') @endsection