

<?php $__env->startSection('content'); ?>
    <div class="mb-6 flex items-center justify-between gap-4">
        <h1 class="section-title text-4xl"><?php echo e(__('Clients')); ?></h1>
        <a href="<?php echo e(route('admin.clients.create')); ?>" class="btn-primary"><?php echo e(__('Create New')); ?></a>
    </div>
    <div class="admin-card overflow-x-auto">
        <table class="min-w-full text-left text-sm">
            <thead class="text-slate-400"><tr><th class="pb-4">Name</th><th class="pb-4">Company</th><th class="pb-4">Order</th><th class="pb-4"></th></tr></thead>
            <tbody class="divide-y divide-slate-200 dark:divide-slate-800">
                <?php $__currentLoopData = $clients; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $client): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <tr>
                        <td class="py-4"><?php echo e($client->name); ?></td>
                        <td class="py-4"><?php echo e($client->translate('company', 'en')); ?></td>
                        <td class="py-4"><?php echo e($client->sort_order); ?></td>
                        <td class="py-4"><div class="flex justify-end gap-3"><a href="<?php echo e(route('admin.clients.edit', $client)); ?>" class="btn-secondary px-4 py-2"><?php echo e(__('Edit')); ?></a><form method="POST" action="<?php echo e(route('admin.clients.destroy', $client)); ?>"><?php echo csrf_field(); ?> <?php echo method_field('DELETE'); ?> <button class="btn-secondary px-4 py-2"><?php echo e(__('Delete')); ?></button></form></div></td>
                    </tr>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </tbody>
        </table>
    </div>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.admin', ['title' => __('Clients').' | Nivex'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\xampp\htdocs\Nivex\resources\views/admin/clients/index.blade.php ENDPATH**/ ?>