<?php if(session('success')): ?>
<script>
    toastr.options = {
               "closeButton": false,
               "debug": false,
               "newestOnTop": false,
               "progressBar": true,
               "positionClass": "toast-top-right",
               "preventDuplicates": false,
               "onclick": null,
               "showDuration": "300",
               "hideDuration": "1000",
               "timeOut": "5000",
               "extendedTimeOut": "1000",
               "showEasing": "swing",
               "hideEasing": "linear",
               "showMethod": "fadeIn",
               "hideMethod": "fadeOut"
     }
    toastr.success('<?php echo e(session("success")); ?>', ' Success ! ');
</script>
<?php endif; ?>
<?php if(session('warning')): ?>
<script>
    toastr.options = {
               "closeButton": false,
               "debug": false,
               "newestOnTop": false,
               "progressBar": true,
               "positionClass": "toast-top-right",
               "preventDuplicates": false,
               "onclick": null,
               "showDuration": "400",
               "hideDuration": "1000",
               "timeOut": "6000",
               "extendedTimeOut": "1000",
               "showEasing": "swing",
               "hideEasing": "linear",
               "showMethod": "fadeIn",
               "hideMethod": "fadeOut"
     }
    toastr.warning('<?php echo e(session("warning")); ?>', ' Warning !');
</script>
<?php endif; ?>
<?php if(session('error')): ?>
<script>
    toastr.options = {
               "closeButton": false,
               "debug": false,
               "newestOnTop": false,
               "progressBar": true,
               "positionClass": "toast-top-right",
               "preventDuplicates": false,
               "onclick": null,
               "showDuration": "400",
               "hideDuration": "1000",
               "timeOut": "6000",
               "extendedTimeOut": "1000",
               "showEasing": "swing",
               "hideEasing": "linear",
               "showMethod": "fadeIn",
               "hideMethod": "fadeOut"
     }
    toastr.error('<?php echo e(session("error")); ?>', ' Wrong !');
</script>
<?php endif; ?><?php /**PATH /home/demosoftghor/sm.demo.softghor.com/resources/views/partials/toaster-alerts.blade.php ENDPATH**/ ?>