<!--begin::Table-->
<table id="kt_datatable_dom_positioning" class="table table-striped table-row-bordered gy-5 gs-7 border rounded">
    <!--begin::Thead-->
    <thead>
        <tr class="fw-6 fw-semibold text-gray-600">
            <th class="min-w-250px"><?php echo e(__('lang.title')); ?></th>
            <th class="min-w-250px"><?php echo e(__('lang.body')); ?></th>
            <th class="min-w-150px"><?php echo e(__('lang.actions')); ?></th>
        </tr>
    </thead>
    <!--end::Thead-->
    <!--begin::Tbody-->
    <tbody>
        <?php $__currentLoopData = $notifications; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $notification): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <tr>
                <td>
                    <span class="badge badge-light-success fs-7 fw-bold"><?php echo e($notification->title); ?></span>
                </td>
                <td><?php echo e($notification->body); ?></td>
                <td>


                    <?php if(auth()->user()->can('delete notifications')): ?>
                        <a data-url="<?php echo e(route('notifications.destroy', $notification->id)); ?>" type='button'
                            class="btn btn-sm btn-danger me-2 delete-btn">
                            <i class="bi bi-file-x-fill"></i>
                        </a>
                    <?php endif; ?>

                </td>
            </tr>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </tbody>
    <!--end::Tbody-->
</table>
<!--end::Table-->
<?php /**PATH /home/oday/public_html/mazdashboard.alialzahabia.com/resources/views/AdminPanel/notifications/table.blade.php ENDPATH**/ ?>