<?php
    use App\Helpers\Template as Template;
    use App\Helpers\Hightlight as Hightlight;
?> <div class="x_content"> <div class="table-responsive"> <table class="table table-striped jambo_table bulk_action"> <thead> <tr class="headings"> <th class="column-title">#</th> <th class="column-title">Name</th> <th class="column-title">Ordering</th> <th class="column-title">Created</th> <th class="column-title">Modified</th> <th class="column-title">Status</th> <th class="column-title">Id</th> <th class="column-title">Hành động</th> </tr> </thead> <tbody> <?php if(count($items) > 0): ?> <?php $__currentLoopData = $items; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $val): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php
                            $index           = $key + 1;
                            $class           = ($index % 2 == 0) ? "even" : "odd";
                            $id              = $val['id'];
                            $ordering              = $val['ordering'];
                            $name            = Hightlight::show($val['name'], $params['search'], 'name');
                            $status          = Template::showItemStatus($controllerName, $id, $val['status']);
                            $createdHistory  = Template::showItemHistory($val['created_by'], $val['created']);
                            $modifiedHistory = Template::showItemHistory($val['modified_by'], $val['modified']);
                            $listBtnAction   = Template::showButtonAction($controllerName, $id);
                            $listBtnAction   = Template::showButtonAction($controllerName, $id);
                        ?> <tr class="<?php echo e($class); ?> pointer"> <td ><?php echo e($index); ?></td> <td width="25%"><?php echo $name; ?></td> <td><?php echo $ordering; ?></td> <td><?php echo $createdHistory; ?></td> <td><?php echo $modifiedHistory; ?></td> <td><?php echo $status; ?></td> <td><?php echo $id; ?></td> <td class="last"><?php echo $listBtnAction; ?></td> </tr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> <?php else: ?> <?php echo $__env->make('admin.templates.list_empty', ['colspan' => 8], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> <?php endif; ?> </tbody> </table> </div> </div> <?php /**PATH D:\xampp\htdocs\offline_laravel_duongle\resources\views/admin/pages/nestedcategory/list.blade.php ENDPATH**/ ?>