
<?php $__env->startSection('content'); ?>
    <div class="page-container">

        <div class="page-title-head d-flex align-items-sm-center flex-sm-row flex-column gap-2">
            <div class="flex-grow-1">
                <h4 class="fs-18 fw-semibold mb-0"><?php echo e($title); ?></h4>
            </div>

            <div class="text-end">
                <?php echo $__env->make('dashboard.user.layouts.components.breadcrumbs', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

            </div>
        </div>

        <div class="row">
            <?php echo $__env->make('dashboard.user.components.menu', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

            <div class="col-lg-12">
                <div class="card">
                    <div class="card-body">
                        <dl class="row">
                            <dt class="col-sm-3">Message</dt>
                            <dd class="col-sm-9"><?php echo e($notification->message); ?></dd>

                            <dt class="col-sm-3">Type</dt>
                            <dd class="col-sm-9">
                                <?php echo e($notification->type->label()); ?>

                            </dd>

                            <dt class="col-sm-3">Status</dt>
                            <dd class="col-sm-9">
                                <?php if($notification->is_read): ?>
                                    <span class="badge bg-success-subtle text-success fs-12 p-1">Read</span>
                                <?php else: ?>
                                    <span class="badge bg-warning-subtle text-warning fs-12 p-1">Unread</span>
                                <?php endif; ?>
                            </dd>

                            <dt class="col-sm-3">Date</dt>
                            <dd class="col-sm-9"><?php echo e($notification->created_at->format('jS M Y h:i A')); ?></dd>
                        </dl>

                        <div class="d-flex justify-content-end">
                            <a href="<?php echo e(route('user.notification.index')); ?>" class="btn btn-primary">Back</a>
                        </div>
                    </div><!-- end card-body -->
                </div><!-- end card -->
            </div>

        </div>

    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('dashboard.user.layouts.master', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\xampp\htdocs\projects\online-banking-v6.0\resources\views/dashboard/user/notification/show.blade.php ENDPATH**/ ?>