<script type="text/javascript">
  toastr.options = {
    "closeButton": true,
    "debug": false,
    "newestOnTop": true,
    "progressBar": true,
      "positionClass": "toast-bottom-right",
    "preventDuplicates": false,
    "onclick": null,
    "showDuration": "300",
    "hideDuration": "1000",
    "timeOut": "5000",
    "extendedTimeOut": "1000",
    "showEasing": "swing",
    "hideEasing": "linear",
    "showMethod": "fadeIn",
    "hideMethod": "fadeOut"
  }
</script>
<?php if($message = Session::get('success')): ?>
<!-- <div class="alert alert-success alert-dismissible fade show" role="alert">
  <strong><?php echo e($message); ?></strong>
  <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div> -->
<script type="text/javascript">
  toastr.success("<?php echo e($message); ?>", 'Success.');  
</script>
<?php endif; ?> 
    
<?php if($message = Session::get('error')): ?>
<!-- <div class="alert alert-danger alert-dismissible fade show" role="alert">
  <strong><?php echo e($message); ?></strong>
  <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div> -->
<script type="text/javascript">
  toastr.error("<?php echo e($message); ?>", 'Error!');  
</script>
<?php endif; ?>
     
<?php if($message = Session::get('warning')): ?>
<!-- <div class="alert alert-warning alert-dismissible fade show" role="alert">
  <strong><?php echo e($message); ?></strong>
  <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div> -->
<script type="text/javascript">
  toastr.warning("<?php echo e($message); ?>", 'Alert!');  
</script>
<?php endif; ?>
     
<?php if($message = Session::get('info')): ?>
<!-- <div class="alert alert-info alert-dismissible fade show" role="alert">
  <strong><?php echo e($message); ?></strong>
  <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div> -->
<script type="text/javascript">
  toastr.info("<?php echo e($message); ?>", 'Info!');  
</script>
<?php endif; ?>

<?php if($message = Session::get('message')): ?>
<!-- <div class="alert alert-info alert-dismissible fade show" role="alert">
  <strong><?php echo e($message); ?></strong>
  <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div> -->
<script type="text/javascript">
  toastr.info("<?php echo e($message); ?>", 'Info!');  
</script>
<?php endif; ?>
    
<?php if($errors->any()): ?>
<!-- <div class="alert alert-danger alert-dismissible fade show" role="alert">
  <strong>Please check the form below for errors</strong>
  <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button> -->
  <!-- <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>
</div> -->
<script type="text/javascript">
  toastr.error("Please check the form below for errors", 'Error!');  
</script>
<?php endif; ?><?php /**PATH C:\laragon\www\meta-mint-logistics\resources\views/flash-message.blade.php ENDPATH**/ ?>