<th>Title</th> <th>Target Date</th> <th>Details</th> </tr> </thead> <tbody> <?php $num = 0; ?> <?php //check whether user has full access notification $fullAccess = CommonFunction::hasPermission('sia_notification_full', Auth::user()->emp_id(), 'access'); ?> @foreach ($exceedDateArray as $info) <?php $data = CommonFunction::getFindingInfo($info); ?> <?php if ($fullAccess == 'true') { $imTeamMember = 'true'; } else { //getting member in an array $members = CommonFunction::updateMultiSelection('sia_program', 'sia_number', $data->sia_number, 'team_members'); //checking whether member or not $imTeamMember = CommonFunction::isItMe($members, Auth::user()->emp_id()); } ?> @if($imTeamMember=='true') <tr> <td>