<?php $__currentLoopData = session('flash_notification', collect())->toArray(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $message): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <?php if($message['overlay']): ?>
        <?php echo $__env->make('core::partials.flash.modal', [
            'modalClass' => 'flash-modal',
            'title'      => $message['title'],
            'body'       => $message['message']
        ], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php else: ?>
        <div class="alert alert-icon
                    alert-<?php echo e($message['level']); ?>

        <?php echo e($message['important'] ? 'alert-important' : ''); ?>"
             role="alert"
        >
            <?php if($message['level']=='success'): ?>
                <em class="icon ni ni-check-circle"></em>
            <?php elseif($message['level']=='danger'): ?>
                <em class="icon ni ni-cross-circle"></em>
            <?php else: ?>
                <em class="icon ni ni-alert-circle"></em>
            <?php endif; ?>

            <?php echo $message['message']; ?>


            <?php if($message['important']): ?>
                <button type="button"
                        class="close"
                        data-dismiss="alert"
                        aria-hidden="true"
                >&times;
                </button>
            <?php endif; ?>
        </div>
    <?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php if(!empty($error) || request('error')): ?>
    <div class="alert  alert-icon alert-danger alert-dismissible">
        <em class="icon ni ni-check-circle"></em>
        <?php echo e(!empty($error)?$error:request('error')); ?>

        <button type="button"
                class="close"
                data-dismiss="alert"
                aria-hidden="true"
        >
        </button>
    </div>
<?php endif; ?>
<?php if($errors->any()): ?>
    <div class="alert alert-danger alert-dismissible">
        <ul>
            <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <li><?php echo e($error); ?></li>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </ul>
        <button type="button"
                class="close"
                data-dismiss="alert"
                aria-hidden="true"
        >&times
        </button>
    </div>
<?php endif; ?>
<?php if(!empty($msg) || request('msg')): ?>
    <div class="alert  alert-icon alert-success alert-dismissible">
        <em class="icon ni ni-check-circle"></em>
        <?php echo e(!empty($msg)?$msg:request('msg')); ?>

        <button type="button"
                class="close"
                data-dismiss="alert"
                aria-hidden="true"
        >
        </button>
    </div>
<?php endif; ?>

<?php echo e(session()->forget('flash_notification')); ?>

<?php /**PATH /var/www/html/projects/loan.local/themes/adminlte/views/partials/flash/message.blade.php ENDPATH**/ ?>