<?php $__env->startSection('title', admin_trans('Extensions')); ?>
<?php $__env->startSection('section', admin_trans('Settings')); ?>
<?php $__env->startSection('container', 'container-max-lg'); ?>
<?php $__env->startSection('content'); ?>
    <div class="card">
        <table id="datatable" class="table w-100">
            <thead>
                <tr>
                    <th class="tb-w-1x"><?php echo e(admin_trans('#')); ?></th>
                    <th class="tb-w-3x"><?php echo e(admin_trans('Logo')); ?></th>
                    <th class="tb-w-3x"><?php echo e(admin_trans('name')); ?></th>
                    <th class="tb-w-7x"><?php echo e(admin_trans('Status')); ?></th>
                    <th class="tb-w-7x"><?php echo e(admin_trans('Last Update')); ?></th>
                    <th></th>
                </tr>
            </thead>
            <tbody>
                <?php $__currentLoopData = $extensions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $extension): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <tr class="item">
                        <td><?php echo e($extension->id); ?></td>
                        <td>
                            <a href="<?php echo e(route('admin.settings.extensions.edit', $extension->id)); ?>">
                                <img src="<?php echo e(asset($extension->logo)); ?>" height="40" width="40">
                            </a>
                        </td>
                        <td>
                            <a href="<?php echo e(route('admin.settings.extensions.edit', $extension->id)); ?>" class="text-dark">
                                <?php echo e($extension->name); ?>

                            </a>
                        </td>
                        <td>
                            <?php if($extension->status): ?>
                                <span class="badge bg-success"><?php echo e(admin_trans('Enabled')); ?></span>
                            <?php else: ?>
                                <span class="badge bg-danger"><?php echo e(admin_trans('Disabled')); ?></span>
                            <?php endif; ?>
                        </td>
                        <td><?php echo e(dateFormat($extension->updated_at)); ?></td>
                        <td>
                            <div class="text-end">
                                <button type="button" class="btn btn-sm rounded-3" data-bs-toggle="dropdown"
                                    aria-expanded="true">
                                    <i class="fa fa-ellipsis-v fa-sm text-muted"></i>
                                </button>
                                <ul class="dropdown-menu dropdown-menu-sm-end" data-popper-placement="bottom-end">
                                    <li>
                                        <a class="dropdown-item"
                                            href="<?php echo e(route('admin.settings.extensions.edit', $extension->id)); ?>"><i
                                                class="fa fa-edit me-2"></i><?php echo e(admin_trans('Edit')); ?></a>
                                    </li>
                                </ul>
                            </div>
                        </td>
                    </tr>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </tbody>
        </table>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('backend.layouts.grid', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /www/wwwroot/neofiles.codenine.biz.id/resources/views/backend/settings/extensions/index.blade.php ENDPATH**/ ?>