AnonSec Shell
Server IP : 162.214.74.102  /  Your IP : 216.73.217.80
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/public_html/lrsys_apps/dialogo/ui/lib/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/public_html/lrsys_apps/dialogo/ui/lib//pmethod.js
var ind_decimal = $("#_dec_point").val();
var ind_mil = $("#_mil_point").val();
var curr_code = $("#_curr_code").val();
$(document).ready(function () {

    var _url = $("#_url").val();

   $(".cdelete").click(function (e) {
        e.preventDefault();
        var id = $(this).attr('data-id');
        bootbox.confirm( $("#are_you_sure").val() , function(result) {
           if(result){
               window.location.href = _url + "settings/pmethods-delete/" + id;
           }
        });
    });
    
/////////////////////////EDIT CONTACT//////////////////
//////aciona o modal para adicionar o contato, evento de abertura do modal
    var $modal = $('#ajax-modal');
    $(".edit_pmethod").click(function(){
        // create the backdrop and wait for next modal to be triggered
        var id=$(this).attr("data-id");
      
        $modal.load(_url + 'settings/modal-pmethods-manage/'+id,'' ,function () {
            $modal.modal();     
            $("[data-toggle='toggle']").bootstrapToggle();  
            $('.amount').autoNumeric('init', {aSep: ind_mil, aDec: ind_decimal, mDec: 2, aSign: curr_code + ' '});
            $('.percent').autoNumeric('init', {aSep: ind_mil, aDec: ind_decimal, mDec: 2, aSign: ''});

        });
       
    });
    
    $("#add_new_method").click(function(){
        // create the backdrop and wait for next modal to be triggered
        var id=$(this).attr("data-id");
      
        $modal.load(_url + 'settings/modal-pmethods-manage/'+id,'' ,function () {
            $modal.modal();     
            $("[data-toggle='toggle']").bootstrapToggle();  
            $('.amount').autoNumeric('init', {aSep: ind_mil, aDec: ind_decimal, mDec: 2, aSign: curr_code + ' '});
            $('.percent').autoNumeric('init', {aSep: ind_mil, aDec: ind_decimal, mDec: 2, aSign: ''});

        });
       
    });
 
    
    
    //////////////////////Acao de Salvar do Modal////////////////////////////
        $modal.on('click', '#modal_pmethod_submit', function(e){
        e.preventDefault();
       // $('#ibox_form').block({message: block_msg});
       
        var _url = $("#_url").val();
        $.post(_url + 'settings/pmethods-edit-post/', $("#form-modal-pmethod").serialize())
            .done(function (data) {
                //alert(data);
                location.reload();
        });
    });
    
});

Anon7 - 2022
AnonSec Team