| 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/www/lrsys_apps/marisol/ui/lib/ |
Upload File : |
$(document).ready(function () {
$("#faccount").select2({
theme: "bootstrap"
});
$("#taccount").select2({
theme: "bootstrap"
});
$("#pmethod").select2({
theme: "bootstrap"
});
$('#tags').select2({
tags: true,
tokenSeparators: [','],
theme: "bootstrap"
});
$("#a_hide").hide();
$("#emsg").hide();
$("#a_toggle").click(function(e){
e.preventDefault();
$("#a_hide").toggle( "slow" );
});
var _url = $("#_url").val();
$("#submit").click(function (e) {
e.preventDefault();
$('#ibox_form').block({ message: null });
var _url = $("#_url").val();
$.post(_url + 'transactions/transfer-post/', {
faccount: $('#faccount').val(),
taccount: $('#taccount').val(),
date: $('#date').val(),
amount: $('#amount').val(),
description: $('#description').val(),
tags: $('#tags').val(),
pmethod: $('#pmethod').val(),
ref: $('#ref').val()
})
.done(function (data) {
var sbutton = $("#submit");
var _url = $("#_url").val();
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");
}
});
});
});