<?php if($count <> 0): ?>
	<a class="nav-link dropdown-toggle" href="#" id="alertsDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">

    <i class="fas fa-bell fa-fw"></i>
                <!-- Counter - Alerts -->
    <span class="badge badge-danger badge-counter"><?php if($count > 3): ?> <?php echo e('3+'); ?> <?php else: ?> <?php echo e($count); ?> <?php endif; ?></span>
              </a>
              <!-- Dropdown - Alerts -->
	<div class="dropdown-list dropdown-menu dropdown-menu-right shadow animated--grow-in" aria-labelledby="alertsDropdown">
        <h6 class="dropdown-header">
          Alerts Center
        </h6>
        <?php $__currentLoopData = $notifications; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $notification): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
           	<?php if($notification->type == 'App\Notifications\NotifyAdminInvoice'): ?>
         		<?php
                $data = $notification->data;
                $invoice = $data['invoice'];
                ?>
        	<a class="dropdown-item d-flex align-items-center" data-url="<?php echo e(url('invoice.view')); ?>.<?php echo e($invoice['uuid']); ?>" data-id="<?php echo e($notification['uuid']); ?>" onclick="notification_read('<?php echo e($notification->id); ?>');" id="<?php echo e($notification->id); ?>">
		            <div class="mr-3">
		                <div class="icon-circle bg-primary">
		                    <i class="fas fa-file-alt text-white"></i>
		                </div>
		            </div>
		            
		            <div>
	                <div class="small text-gray-500"><?php echo e($notification->created_at); ?></div>

	                	<span class="font-weight-bold"><?php echo e('Subscription Invoice Unprocessed - '.$invoice['uuid']); ?></span>
		            </div>
		            
		        </a> 
		        
		    <?php endif; ?>

		    <?php if($notification->type == 'App\Notifications\NotifyOverDueInvoice'): ?>
         		<?php
                $data = $notification->data;
                $invoice = $data['invoice'];
                ?>
        	<a class="dropdown-item d-flex align-items-center" data-url="<?php echo e(url('invoice.view')); ?>.<?php echo e($invoice['uuid']); ?>" data-id="<?php echo e($notification['uuid']); ?>" onclick="notification_read('<?php echo e($notification->id); ?>');" id="<?php echo e($notification->id); ?>">
		            <div class="mr-3">
		                <div class="icon-circle bg-primary">
		                    <i class="fas fa-file-alt text-white"></i>
		                </div>
		            </div>
		            
		            <div>
	                <div class="small text-gray-500"><?php echo e($notification->created_at); ?></div>

	                	<span class="font-weight-bold"><?php echo e('Invoice Overdue Notice- '.$invoice['uuid']); ?></span>
		            </div>
		            
		        </a> 
		        
		    <?php endif; ?>

		    <?php if($notification->type == 'App\Notifications\NotifySecondOverDueInvoice'): ?>
         		<?php
                $data = $notification->data;
                $invoice = $data['invoice'];
                ?>
        	<a class="dropdown-item d-flex align-items-center" data-url="<?php echo e(url('invoice.view')); ?>.<?php echo e($invoice['uuid']); ?>" data-id="<?php echo e($notification['uuid']); ?>" onclick="notification_read('<?php echo e($notification->id); ?>');" id="<?php echo e($notification->id); ?>">
		            <div class="mr-3">
		                <div class="icon-circle bg-primary">
		                    <i class="fas fa-file-alt text-white"></i>
		                </div>
		            </div>
		            
		            <div>
	                <div class="small text-gray-500"><?php echo e($notification->created_at); ?></div>

	                	<span class="font-weight-bold"><?php echo e('Invoice Overdue 2nd Notice - '.$invoice['uuid']); ?></span>
		            </div>
		            
		        </a> 
		        
		    <?php endif; ?>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>     


        <?php if($count > 3): ?><a class="dropdown-item text-center small text-gray-500" href="#">Show All Alerts</a> <?php endif; ?>

	</div>
<?php else: ?>

<?php endif; ?><?php /**PATH C:\xampp\htdocs\clouddev\local\resources\views/layouts/notification_data.blade.php ENDPATH**/ ?>