<tr> <td class="center" > <div class="checkbox-table listChk"> <label> <input type="checkbox" class="ulistcheckbox" name="ulist" value="{{ $menu->id }}"> </label> </div> </td> <td>{{ $menu->name }}</td> <td>{{ $menu->menu_slug }} </td> <td><?php if ($menu->parent_id > 0) { echo \App\Models\Menu::menuNameById($menu->parent_id)->name; } else { print 'Null'; } ?> </td> <td><?php echo url(); ?> /<?php echo $menu->menu_slug; ?> </td> <td><?php echo $menu->weight; ?>