<?php
$notifications =
Modules\OrderManage\Entities\CustomerNotification::where('customer_id',Auth::id())->where('read_status',0)->latest()->take(4)->get();

?>

<a href="javascript:void(0);" class="cart_menu_item">
    <i class="ti-bell"></i> <?php echo e(__('common.notification')); ?></a>
<div class="cart_iner notifica_menu">
    <?php $__currentLoopData = $notifications; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $notification): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <a href="<?php echo e($notification->url ?? '#'); ?>">
        <p class="notification-margin"><?php echo e($notification->title); ?></p>
    </a><br>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    <div class="select_option_list">
        <?php if(count($notifications) > 0): ?>
        <a href="<?php echo e(route('frontend.notifications')); ?>" class="btn_1"><?php echo e(__('common.view_all')); ?></a>
        <div class="margintop"><a href="<?php echo e(route('frontend.mark_as_read')); ?>" class="btn_1"><?php echo e(__('defaultTheme.mark_all_as_read')); ?></a></div>
        <?php endif; ?>
        <div class="margintop marginbottom"><a href="<?php echo e(route('frontend.notification_setting')); ?>" class="btn_1"><?php echo e(__('common.notification')); ?> <?php echo e(__('common.setting')); ?></a></div>
    </div>

</div>
<?php /**PATH /home/penastud/public_html/mart/resources/views/frontend/default/partials/_notifications.blade.php ENDPATH**/ ?>