MOON
Server: Apache
System: Linux host.sunshiene.com 4.18.0-553.121.1.el8_10.x86_64 #1 SMP Thu Apr 30 09:06:34 EDT 2026 x86_64
User: clientsoftwares (1005)
PHP: 8.1.34
Disabled: system, exec, mail, shell_exec, passthru, popen, proc_open, pcntl_exec, dl, ini_alter, ini_restore, symlink, link, chown, posix_kill
Upload Files
File: /home/clientsoftwares/public_html/mbpos.clientsoftwares.com/backend/js/custom-toastr.js
// Toastr settings
$(document).ready(function () {
    toastr.options = {
        "closeButton": true,
        "progressBar": true,
        "debug": true,
        "positionClass": "toast-bottom-right",
        "newestOnTop": false,
        "preventDuplicates": true,
        "onclick": null,
        "showDuration": "300",
        "hideDuration": "1000",
        "timeOut": "2000",
        "extendedTimeOut": "1000",
        "showEasing": "swing",
        "hideEasing": "linear",
        "showMethod": "fadeIn",
        "hideMethod": "fadeOut"
    };

    if ($("#toastrType").val() == '')
    {
        var type = 'success';
    } else {
        var type = $("#toastrType").val();
    }
    var toastrMessage = $("#toastrMessage").val();
    switch (type) {
        case 'info':
            toastr["info"](toastrMessage);
            break;

        case 'warning':
            toastr["warning"](toastrMessage);
            break;

        case 'success':
            toastr["success"](toastrMessage);
            break;

        case 'error':
            toastr["error"](toastrMessage);
            break;
    }

});