<!DOCTYPE html>
<html lang="<?php echo e(str_replace('_', '-', app()->getLocale())); ?>">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1.0">
    <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">

    <title>Liste des managers</title>

    <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap">
    <link rel="stylesheet" href="<?php echo e(asset('css/app.css')); ?>">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.9.4/tiny-slider.css">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css">

    <script src="https://kit.fontawesome.com/b5101eab7c.js" crossorigin="anonymous"></script>
    <script src="<?php echo e(asset('js/app.js')); ?>" defer></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/tiny-slider/2.9.2/min/tiny-slider.js"></script>
    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>
</head>
<div id="page">
<h1 style="text-align: center">Liste des managers dont le(s) véhicules ne sont pas remonté(s)</h1>
    <section>
        <table id="dashboard-vehicules" class="searchlist">

                <tr class="header">
                    <th>Manager ID</th>
                    <th>Entreprise</th>
                    <th>Voir</th>
                </tr>

            <?php $__currentLoopData = $paginate; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>

                <tr>
                    <td><?php echo e($data->manager_id); ?></td>
                    <td><?php if(isset($data->entreprise)): ?>
                            <?php echo e($data->entreprise); ?>

                        <?php else: ?>
                            INCONNU
                        <?php endif; ?>
                    </td>
                    <?php if($data->manager_id): ?>
                    <td>
                        <form action=<?php echo e(route('manager', ['id' => $data->manager_id])); ?> target="_blank" method="POST">
                            <?php echo csrf_field(); ?>
                            <button type="submit">Voir</button>
                        </form>
                    </td>
                    <?php else: ?>
                    <td>
                        Manager_id Inconnu
                    </td>
                    <?php endif; ?>
                </tr>

            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

        </table>
    </section>
    <div>
        <?php echo e($paginate->links('vendor.pagination.custom2')); ?>

    </div>
    <?php
        header('Refresh:60');
    ?>
</div>
<?php /**PATH /var/www/html/dashboard-vehicules/dashboard-vehicules/resources/views/dashboard_list_manager.blade.php ENDPATH**/ ?>