AnonSec Shell
Server IP : 162.214.74.102  /  Your IP : 216.73.216.192
Web Server : Apache
System : Linux dedi-4363141.lrsys.com.br 3.10.0-1160.119.1.el7.tuxcare.els25.x86_64 #1 SMP Wed Oct 1 17:37:27 UTC 2025 x86_64
User : lrsys ( 1015)
PHP Version : 5.6.40
Disable Function : exec,passthru,shell_exec,system
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/lrsys/www/lrsys_apps/erp/application/plugins/module_med_scheduling/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/www/lrsys_apps/erp/application/plugins/module_med_scheduling/assets/js/default-diary.js
$(document).ready(function()
{
    $('#interval').mask('99');
    $('#simultaneous').mask('9');
 $(".select2").select2({});
   
   
    var _url = $("#_url").val();
    $("#emsg").hide();
    $("#submit").on('click', function (e) {
        e.preventDefault();
        $("#ibox-form").block({message: block_msg});
        $.post(_url + "module_med_scheduling/diary/post", $("#form-diary").serialize())
                .done(function (data) {
                    if ($.isNumeric(data)) {
                        location.reload();
                    } else {
                        $("#ibox-form").unblock();
                        var body = $("html, body");
                        body.animate({scrollTop: 0}, '1000', 'swing');
                        $("#emsgbody").html(data);
                        $("#emsg").show("slow");
                    }
                });
    });

   
   
   
    $(".clss_hr").on("keyup", function () {
        validate = $(this).val().split(":");
        if ((validate[0] > 23) ||
                (validate[1] > 59)) {
            $(this).val('');
            $(this).focus();
            return;
        }
    });
    
    

    $('.redf_hr_on').hide();


    $('.redf_hr').on('click', function () {
        $('.redf_hr_on').show();
    });

    $('.clse_redf_hr').on('click', function () {
        $('.redf_hr_on').hide();
    });

    $('.redf_hr_func').on('click', function () {
        if ($('#nv_hr_ini_mn').val() != '') {
            $('.hr_ini_manha').val($('#nv_hr_ini_mn').val());
        }

        if ($('#nv_hr_fim_mn').val() != '') {
            $('.hr_fim_manha').val($('#nv_hr_fim_mn').val());
        }

        if ($('#nv_hr_ini_tr').val() != '') {
            $('.hr_ini_tard').val($('#nv_hr_ini_tr').val());
        }

        if ($('#nv_hr_fim_tr').val() != '') {
            $('.hr_fim_tard').val($('#nv_hr_fim_tr').val());
        }
    });
    
    //set interval para atualizar a hora do servidor
    setInterval( function () {
        $.get($("#_url").val()+"ajax/date_time", function(dados){ 
            $("#hour").html(dados);
        });
    }, 5000 );
   
    $.get($("#_url").val()+"ajax/date_time", function(dados){ 
        $("#hour").html(dados);
    });

});

Anon7 - 2022
AnonSec Team