<?php if($partners->isEmpty()): ?>
    <p class="mb-0">No authorised partners yet.</p>
<?php else: ?>
    <div class="table-responsive">
        <table class="table table-responsive-md mb-0">
            <thead>
                <tr>
                    <th>Name</th>
                    <th>Email</th>
                    <th>Status</th>
                    <th class="text-end">Action</th>
                </tr>
            </thead>
            <tbody>
                <?php $__currentLoopData = $partners; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $partner): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <tr>
                        <td><?php echo e($partner->applicant_name); ?></td>
                        <td><?php echo e($partner->email); ?></td>
                        <td>
                            <?php if($partner->user): ?>
                                <span class="badge <?php echo e($partner->user->status->badgeClass()); ?>"><?php echo e($partner->user->status->label()); ?></span>
                            <?php else: ?>
                                —
                            <?php endif; ?>
                        </td>
                        <td class="text-end">
                            <a href="<?php echo e(route('authorised-partners.show', $partner)); ?>" class="btn btn-info btn-xs">View</a>
                        </td>
                    </tr>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </tbody>
        </table>
    </div>
    <?php if($partners->hasPages()): ?>
        <div class="d-flex justify-content-between align-items-center flex-wrap gap-2 mt-3 js-partners-pagination">
            <small class="text-muted">Showing <?php echo e($partners->firstItem()); ?> to <?php echo e($partners->lastItem()); ?> of <?php echo e($partners->total()); ?></small>
            <?php echo e($partners->links()); ?>

        </div>
    <?php endif; ?>
<?php endif; ?>
<?php /**PATH /Users/fasil/Sites/iqec/admin/resources/views/iqec/promoters/partials/authorised-partners-list.blade.php ENDPATH**/ ?>