<?php $__currentLoopData = $actions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $action): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <?php
        //$progresses = cache()->get('succ')
$errors = null;
if(cache()->has($action->id . '-error-messages'))
    {
        $errors = cache()->get($action->id . '-error-messages');
    }
    ?> <?php if(cache()->has($action->id.'-progress')): ?> <?php
            $success = cache()->get($action->id.'-progress');
        ?> <div class="alert alert-success" data-id="<?php echo e($action->id); ?>"> <strong>Đã xử lý <?php echo e($success['processed'] > $success['total'] ? $success['total'] : $success['processed']); ?>/<?php echo e($success['total']); ?></strong> </div> <div class="progress progress-striped"> <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="<?php echo e($success['percent']); ?>" aria-valuemin="0" aria-valuemax="100" style="width: <?php echo e($success['percent']); ?>%"> <?php echo e($success['percent']); ?>% </div> </div> <?php endif; ?> <?php if(!empty($errors)): ?> <div class="alert alert-danger"> <?php $__currentLoopData = $errors; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> <p><?php echo e($error); ?></p> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> </div> <?php endif; ?> <hr> <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>