

<?php $__env->startSection('content'); ?>
<div class="card mb-3">
  <div class="card-header d-flex justify-content-between">
    <h5 class="mb-0">Members in <?php echo e($group->name); ?></h5>
    <a href="<?php echo e(url('/allgroups')); ?>" class="btn btn-sm btn-falcon-default">Back</a>
  </div>

  <div class="card-body">
    <div class="table-responsive scrollbar">
      <table id="basic-btn"  class="table table-striped fs--1">
        <thead class="bg-200">
          <tr>
            <th>Name</th>
            <th>National ID</th>
            <th>Phone</th>
            <th>Status</th>
          </tr>
        </thead>
        <tbody>
          <?php $__currentLoopData = $members; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $member): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
          <tr>
            <td><?php echo e($member->name); ?> <?php echo e($member->surname); ?></td>
            <td><?php echo e($member->national_id); ?></td>
            <td><?php echo e($member->cell_number); ?></td>
            <td>
              <span class="badge
                <?php if($member->status1 == 'Active'): ?> badge-soft-success
                <?php elseif($member->status1 == 'Pending'): ?> badge-soft-info
                <?php elseif($member->status1 == 'Lapsed'): ?> badge-soft-warning
                <?php elseif($member->status1 == 'Restart'): ?> badge-soft-danger
                <?php endif; ?>">
                <?php echo e($member->status1); ?>

              </span>
            </td>
          </tr>
          <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </tbody>
      </table>
    </div>
  </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.admin', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\WORK-STATION\MBBS\Insurance-Version Controls\03-01-2026\resources\views/groups/members.blade.php ENDPATH**/ ?>