<div class="pd-20 card-box">
       
    <div class="row"> 

        <div class="col-md-1">
            <div class="input-group custom ">
                <select wire:model.live="per_page"  class="form-control form-control-sm" >
                    <option value="10">10</option>
                    <option value="25">25</option>
                    <option value="50">50</option>
                    <option value="75">75</option>
                    <option value="100">100</option>
                </select>
            </div>
        </div>
        <div class="col-md-6 offset-md-2">
            <div class="input-group custom ">
                    <input
                        type="text"
                        class="form-control form-control-sm"
                        placeholder="recherche"
                        id="_filter"
                        wire:model.live="search"
                    />
                    <div class="input-group-append custom">
                        <span class="input-group-text"
                            ><i class="icon-copy dw dw-search"></i
                        ></span>
                    </div>
            </div>
        </div>
        <div class="col-md-2 text-right ">
            <button
            type="button"
            class="btn btn-primary btn-sm scroll-click"
            rel="content-y"
            wire:click="$dispatch('NewSociety')"
            
            ><i class="fa fa-plus"></i> Ajouter
        </button>
        </div>
    </div>

    <div  class="table-responsive">
        <table id="table" class="table-striped mb-2" border="1" style="width:100%; font-size:0.8rem;">
            
            <thead>
                <tr>
                    <td  class="pl-1" style="width: 3%;"><b>#</b></td>
                    <td  class="pl-1" style="width: 4%;"><b>Statut</b></td>
                    <td  align="center" style="width: 40%;"><b>Raison Sociale</b></td>
                    <td  align="center" style="width: 10%;"><b>Sigle</b></td>
                    <td  class="pl-1" style="width: 17%;"><b>Activité Principale</b></td>
                    <td  align="center" style=""><b>Ville</b></td>
                    <td align="center" style="width: 8%;"></td>
                </tr>
            </thead>
            <tbody>
                <?php
                    $n = 1;
                ?>
                <!-- __BLOCK__ --><?php $__empty_1 = true; $__currentLoopData = $lists; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $list): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                    <tr>
                        <td class="pl-1"><?php echo e($n); ?></td>
                        <td align="center">
                            <!-- __BLOCK__ --><?php if($list->is_active): ?>
                               <span style="color:green;"> <i class="icon-copy bi bi-circle-fill"></i></span>
                            <?php else: ?>
                                <span style="color:red;"> <i class="icon-copy bi bi-circle-fill"></i></span>
                            <?php endif; ?> <!-- __ENDBLOCK__ -->
                        </td>
                        <td class="pl-1"><?php echo e($list->raison_sociale); ?></td>
                        <td class="pl-1"><?php echo e($list->sigle); ?></td>
                        <td class="pl-1"><?php echo e($list->activite_principale); ?></td>
                        <td class="pl-1"><?php echo e($list->ville); ?></td>
                        <td align="center">
                           <a class="text-primary" style="cursor:pointer;"
                            wire:click="$dispatch('editCustomer',[<?php echo e($list->id); ?>])" ><i class="dw dw-edit2"></i></a
                            >
                       </td>
                    </tr>
                    <?php
                        ++$n ;
                    ?>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                    <tr>
                        <td colspan="6" align="center">Aucune donnée trouvée</td>
                    </tr>
                <?php endif; ?> <!-- __ENDBLOCK__ -->
                   
                
            </tbody>
            
        </table>
        <?php echo e($lists->links()); ?>

        </div>
</div>



<?php /**PATH D:\laravel_apps\access\resources\views/livewire/admin/customer.blade.php ENDPATH**/ ?>