

<?php $__env->startSection('title', 'Notifications'); ?>

<?php $__env->startSection('content'); ?>
<div class="container py-4">
    <div class="page-header">
        <h1>Notifications</h1>
    </div>
    <div class="card">
        <div class="card-body">
            <?php if($notifications->count()): ?>
                <ul class="list-group">
                <?php $__currentLoopData = $notifications; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $notification): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <li class="list-group-item">
                        <?php echo e($notification->data['message'] ?? 'Notification'); ?>

                        <span class="text-muted float-end" style="font-size:0.9em;"><?php echo e($notification->created_at->diffForHumans()); ?></span>
                    </li>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                </ul>
            <?php else: ?>
                <p class="mb-0">No notifications.</p>
            <?php endif; ?>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\wamp64\www\ndrt-system\resources\views/notifications/index.blade.php ENDPATH**/ ?>