Status @if( $data['answers']->approve_status == 1) @elseif( $data['answers']->approve_status == 2) @else @endif File @if($data['answers']->file) Attachment File @endif
CreatedBy @if($data['answers']->created_by) {{ ViewHelper::getUserNameId( $data['answers']->created_by ) }} {{-- {{ auth()->user()->where('id',$data['answers']->created_by)->first()->name }}--}} @endif UpdatedBy @if($data['answers']->last_updated_by) {{ ViewHelper::getUserNameId( $data['answers']->last_updated_by ) }} {{--{{ auth()->user()->where('id',$data['answers']->last_updated_by)->first()->name }}--}} @endif
CreatedOn {{ \Carbon\Carbon::parse($data['answers']->created_at)->format('M d, Y')}} UpdateOn {{ \Carbon\Carbon::parse($data['answers']->updated_at)->format('M d, Y')}}
Detail {!! $data['answers']->answer_text !!}