<?php if(in_array('notices', $activeWidgets) && $sidebarUserPermissions['view_notice'] != 5 && $sidebarUserPermissions['view_notice'] != 'none' && in_array('notices', user_modules())): ?>
    <?php if(isset($notices)): ?>
        <div class="row">
            <!-- EMP DASHBOARD NOTICE START -->
            <div class="col-md-12">
                <div class="my-3 border rounded bg-white pb-2">
                    <!-- NOTICE HEADING START -->
                    <div class="d-flex align-items-center b-shadow-4 p-20">
                        <p class="mb-0 f-16 f-w-500"> <?php echo app('translator')->get('app.menu.notices'); ?> </p>
                    </div>
                    <!-- NOTICE HEADING END -->
                    <!-- NOTICE DETAIL START -->
                    <div class="b-shadow-4 cal-info scroll ps" data-menu-vertical="1" data-menu-scroll="1"
                         data-menu-dropdown-timeout="500" id="empDashNotice" style="overflow: hidden;">


                        <?php $__currentLoopData = $notices; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $notice): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <div class="card border-bottom p-20 rounded-0">
                                <div class="card-horizontal">
                                    <div class="card-header m-0 p-0 bg-white rounded">
                                        <?php if (isset($component)) { $__componentOriginalf5a72a6c92f224d4750fab85bf5244ff = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalf5a72a6c92f224d4750fab85bf5244ff = $attributes; } ?>
<?php $component = App\View\Components\DateBadge::resolve(['month' => $notice->created_at->translatedFormat('M'),'date' => $notice->created_at
                                                            ->timezone(company()->timezone)
                                                            ->translatedFormat('d')] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('date-badge'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(App\View\Components\DateBadge::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalf5a72a6c92f224d4750fab85bf5244ff)): ?>
<?php $attributes = $__attributesOriginalf5a72a6c92f224d4750fab85bf5244ff; ?>
<?php unset($__attributesOriginalf5a72a6c92f224d4750fab85bf5244ff); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalf5a72a6c92f224d4750fab85bf5244ff)): ?>
<?php $component = $__componentOriginalf5a72a6c92f224d4750fab85bf5244ff; ?>
<?php unset($__componentOriginalf5a72a6c92f224d4750fab85bf5244ff); ?>
<?php endif; ?>
                                    </div>
                                    <div class="card-body border-0 p-0 ml-3">
                                        <h4 class="card-title f-14 font-weight-normal mb-0">
                                            <a href="<?php echo e(route('notices.show', $notice->id)); ?>"
                                               class="openRightModal text-darkest-grey"><?php echo e($notice->heading); ?></a>
                                        </h4>
                                    </div>
                                </div>
                            </div><!-- card end -->
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>


                        <div class="ps__rail-x" style="left: 0px; top: 0px;">
                            <div class="ps__thumb-x" tabindex="0" style="left: 0px; width: 0px;"></div>
                        </div>
                        <div class="ps__rail-y" style="top: 0px; left: 0px;">
                            <div class="ps__thumb-y" tabindex="0" style="top: 0px; height: 0px;"></div>
                        </div>
                    </div>
                    <!-- NOTICE DETAIL END -->
                </div>
            </div>
            <!-- EMP DASHBOARD NOTICE END -->
        </div>
    <?php endif; ?>
<?php endif; ?>
<?php /**PATH /home/smartdigitants/public_html/oneops.co.uk/oneops.ai/resources/views/dashboard/employee/widgets/notices.blade.php ENDPATH**/ ?>