<div class="row">
    <div class="col-xs-12">
        <h4 class="header large lighter blue"><i class="fa fa-list" aria-hidden="true"></i>&nbsp;Hostel History</h4>
        <div class="clearfix">
            <span class="pull-right tableTools-container"></span>
        </div>
        <!-- div.table-responsive -->
        <div class="table-responsive">
            <table id="dynamic-table" class="table table-striped table-bordered table-hover">
                <thead >
                <tr>
                    <th>S.N.</th>
                    <th>Certificate</th>
                    <th>History</th>
                    <th>Date</th>
                </tr>
                </thead>
                <tbody>
                <?php if(isset($data['certificate_history']) && $data['certificate_history']->count() > 0): ?>
                    <?php ($i=1); ?>
                    <?php $__currentLoopData = $data['certificate_history']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $history): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                        <tr>
                            <td><?php echo e($i, false); ?></td>
                            <td class="text-uppercase"><?php echo e($history->certificate, false); ?> </td>
                            <td>
                                <label class="label label-primary"><?php echo e($history->history_type, false); ?></label>
                            </td>
                            <td><?php echo e(\Carbon\Carbon::parse($history->created_at)->format('Y-m-d'), false); ?> </td>

                        </tr>
                        <?php ($i++); ?>
                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <?php else: ?>
                    <tr>
                        <td colspan="11">No Certificate data found.</td>
                    </tr>
                <?php endif; ?>
                </tbody>
            </table>
        </div>
    </div>
</div><?php /**PATH C:\xampp\htdocs\larvel-project\collegeaccounting\resources\views/student/detail/includes/certificate.blade.php ENDPATH**/ ?>