<table id="example" class="table table-striped table-bordered dt-responsive nowrap" style="width:100%">
    <thead>
        <tr>
            <th>Sr.No</th>
            <th>Clinic Name</th>
            <th>Consultant Name</th>
            <th>Status</th>
            <th>Action</th>
        </tr>
    </thead>
    <tbody>
        <?php $i=1;?>
        <?php $__currentLoopData = $data; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $result): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <tr>
            <td><?php echo e($i); ?></td>
            <td><?php echo e($result->ClinicName); ?></td>
            <td><?php echo e($result->Name); ?></td>
            <td><?php if($result->Status=='1'){
                    echo "<span style='color:green;'>Active</span>";
                } 
                else { echo "<span style='color:red;'>Inactive</span>";} ?>
            </td>
            <td><a data-id="<?php echo e($result->id); ?>" href='javascript:void(0);' data-toggle="tooltip" data-placement="top"
                    title="Edit" data-original-title="Edit" class="updatespclinic"><i
                        class="lnr lnr-pencil mr-2"></i></a>&nbsp;&nbsp;
                <a data-id="<?php echo e($result->id); ?>" href='javascript:void(0);' data-toggle="tooltip" data-placement="top"
                    title="Delete" data-original-title="Delete" class="deletespclinic" id="bootbox-confirm"><i
                        class="lnr lnr-trash text-danger"></i></a>
            </td>
        </tr>
        <?php $i++;?>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </tbody>
</table>
<script type="text/javascript">
$(document).ready(function() {
    $('#example').DataTable({
        responsive: true
    });
});
</script><?php /**PATH /home/gssnagpu/public_html/hospsoft.in/siddhivinaynetra/resources/views/masters/view-speciality-clinic-list.blade.php ENDPATH**/ ?>