File: /www/wwwroot/erp.nhatnamsst.com/storage/framework/views/dea01891dcd6a47dcf199619a7e1a8d9.php
<script>
$(document).ready(function(){
<?php $__currentLoopData = $type; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $value): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<?php if($message = Session::get($value)): ?>
$.toast({
heading: '<?php echo e($title); ?>',
text: '<?php echo e($message); ?>',
position: '<?php echo e($position); ?>',
icon: '<?php echo e($value); ?>'
});
<?php endif; ?>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php if(isset($errors) && $errors->any()): ?>
<?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $val): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
$.toast({
heading: '<?php echo e($title); ?>',
text: '<?php echo e($val); ?>',
position: '<?php echo e($position); ?>',
icon: 'warning',
hideAfter: 10000
});
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
<?php endif; ?>
});
</script><?php /**PATH /www/wwwroot/erp.nhatnamsst.com/resources/views/common/alert.blade.php ENDPATH**/ ?>