<?php $__env->startSection('content'); ?>


    <main>
        <!-- Start pg_header -->
    <?php echo $__env->make('web.pages.components.header.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>

        <!-- Start section -->
        <section class="notifications_pg section">
            <div class="container">
                <h2 class="sec_title bb text-center fw-bold mb-5"> <?php echo e(__('web.notifications')); ?>  </h2>
                <?php if(count($notifications)): ?>
                    <div class="col-lg-10 m-auto">
                        <?php $__currentLoopData = $notifications; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $row): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <a <?php if($row->target_id): ?> href="<?php echo e(route('web.order.details',$row->target_id)); ?>" <?php endif; ?>>
                                <div class="noti_card d-flex align-items-center">
                                    <p class="date mb-0"> <i class="fal fa-calendar-alt color-primary me-2"></i> <?php echo e($row->date); ?> </p>
                                    <img src="<?php echo e(url('')); ?>/assets/web/images/icons/notification.png" alt="" class="noti_icon "/>
                                    <div class="content">
                                        <h5 class="title color-dark mb-0"> <?php echo $row->title; ?>   </h5>
                                        <p class="p mb-0">
                                           <?php echo $row->description; ?>

                                        </p>
                                    </div>
                                </div>
                            </a>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </div>
                <?php else: ?>
                    <?php echo $__env->make('web.pages.components.not_found',['message'=>__('web.not_found_notifications')], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                <?php endif; ?>
            </div>
        </section>

    </main>

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

<?php echo $__env->make('web.layouts.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Applications/MAMP/htdocs/electric/resources/views/web/pages/profile/notifications.blade.php ENDPATH**/ ?>