<button type="button" class="item notification-dot" data-bs-toggle="dropdown" aria-expanded="false">
    <i data-lucide="bell" class="<?php echo \Illuminate\Support\Arr::toCssClasses(['bell-ringng' => $totalUnread > 0]); ?>"></i>
    <div class="number"><?php echo e($totalUnread); ?></div>
</button>
<div class="dropdown-menu dropdown-menu-end notification-pop">
    <div class="noti-head">Notifiactions <span><?php echo e($totalUnread); ?></span></div>
    <div class="all-noti">
        <?php $__currentLoopData = $notifications; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $notification): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <div class="single-noti">
            <a href="<?php echo e(route($notification->for.'.read-notification', $notification->id)); ?>" class="<?php echo \Illuminate\Support\Arr::toCssClasses(['read' => $notification->read ]); ?>">
                <div class="icon">
                    <i data-lucide="<?php echo e($notification->icon); ?>"></i>
                </div>
                <div class="content">
                    <div class="main-cont"><?php echo e($notification->title); ?></div>
                    <div class="time"><?php echo e($notification->created_at->diffForHumans()); ?></div>
                </div>
            </a>
        </div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        <?php if($totalCount == 0): ?>
            <p class="text-center"><?php echo e(__('Notification Not Found')); ?></p>
        <?php endif; ?>
    </div>
    <?php if($totalCount != 0): ?>
    <div class="noti-footer mt-3">
        <?php if($totalUnread > 0): ?>
        <a class="noti-btn-1 me-1 w-100" href="<?php echo e(route($notifications->first()->for.'.read-notification', 0)); ?>"><?php echo e(__('Mark All as Read')); ?></a>
        <?php endif; ?>
        <a class="noti-btn-2 ms-1 w-100" href="<?php echo e(route($notifications->first()->for.'.notification.all')); ?>"><?php echo e(__('See all notifications')); ?></a>
    </div>
    <?php endif; ?>
</div>
<?php /**PATH F:\www\ptc20\resources\views/global/__notification_data.blade.php ENDPATH**/ ?>