@if (Sentinel::inRole('admin') || (Sentinel::hasAccess('admin.transactions.comments.store'))) @endif
@if(Sentinel::inRole('admin') || (Sentinel::hasAccess('admin.transactions.showAssignedTo'))) @endif @if (isset($transactionComments)) @foreach($transactionComments as $comments) @if ($comments->updated_by == $access_role_id || in_array($permission_level,Config::get('gis.permission_level'))) @if(Sentinel::inRole('admin') || (Sentinel::hasAccess('admin.transactions.showAssignedTo'))) @php $role_name = explode(',', $comments->role_id); @endphp @endif @endif @endforeach @endif
@if((Sentinel::inRole('court-teller')) || (Sentinel::inRole('courtofficer'))) {{Lang::get('litigation.date')}} @else {{Lang::get('comments.date')}} @endif @if((Sentinel::inRole('court-teller')) || (Sentinel::inRole('courtofficer'))) {{Lang::get('litigation.comments')}} @else {{Lang::get('comments.comments')}} @endif @if((Sentinel::inRole('court-teller')) || (Sentinel::inRole('courtofficer'))) {{Lang::get('litigation.updated_by')}} @else {{Lang::get('comments.updated_by')}} @endif {{Lang::get('comments.assigned_to')}}@if((Sentinel::inRole('court-teller')) || (Sentinel::inRole('courtofficer'))) {{Lang::get('litigation.action')}} @else {{Lang::get('comments.action')}} @endif
{{ Carbon\Carbon::parse($comments->created_at)->format('d-m-Y h:i a') }} {{ $comments->comments }} {{ $comments->updatedBy->full_name }} @foreach($role_name as $role) @php echo isset($roles[$role]) ? $roles[$role].',' : ''; @endphp @endforeach @if(($transaction->status != 'Finalized')&&(Sentinel::inRole('admin') || (Sentinel::hasAccess('admin.transaction.comments.delete')))) id) }}" data-toggle="modal" data-target="#delete-confirmation-modal"> @endif @if(Sentinel::inRole('admin') || (Sentinel::hasAccess('admin.transactions.editAssignedTo')))

@endif