<?php
    $count = count($instalments)+count($records);
?>
<li class="dropdown notifications-menu">
    <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
        <i class="fa fa-bell-o"></i>
        <span class="label label-warning"><?php echo e($count); ?></span>
    </a>
    <ul class="dropdown-menu">
        <li class="header"><?php echo e(trans('front.notificationsMessage')); ?></li>
        <li>
            <ul style="font-size: 12px;" class="menu">
                <?php $__currentLoopData = $records; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $record): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <li>
                    <a href="<?php echo e(route('persons.show',$record)); ?>">
                        <i class="fa fa-user text-aqua"></i><?php echo app('translator')->getFromJson('front.Remind me to review the account for'); ?> <?php echo e($record->name); ?>

                    </a>
                </li>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                <?php $__currentLoopData = $instalments; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $cal): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                    <li>
                        <a data-toggle="modal" data-target="#addPersonModal"  href="<?php echo e(route('persons.addPayment',['person'=>$cal->order->client,'calanderId'=>$cal->id])); ?>">
                            <i class="fa fa-money text-yellow"></i><?php echo app('translator')->getFromJson('front.today installment'); ?> <?php echo e($cal->order->client->name); ?> | <?php echo e($cal->value); ?>

                        </a>
                    </li>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </ul>
        </li>
    </ul>
</li>
