| Server IP : 162.214.74.102 / Your IP : 216.73.217.103 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/ui/theme/lrsys/lib/ |
Upload File : |
$(document).ready(function () {
$(".cdelete").click(function (e) {
e.preventDefault();
var id = this.id;
bootbox.confirm(_L['are_you_sure'], function(result) {
if(result){
var _url = $("#_url").val();
window.location.href = _url + "delete/crm-user/" + id;
}
});
});
// Situation
$('#filter-type a').on('click', function(event) {
event.preventDefault();
var situation = $(this).data('val');
$("input[name=type]").val(situation);
// coloco o filtro como ativo
$('#filter-type li').removeClass('active');
// $('#filter-type_aux').html('');
$(this).parent().addClass('active');
if(situation != 'all')
{
$('#filter-type_aux').html('('+$(this).html()+')');
}
console.log(situation);
$('#form-filter').submit();
});
$("input[name=search]").on('keypress', function(e)
{
if (e.keyCode && e.keyCode == 13) {
e.preventDefault();
$('#form-filter').submit();
console.log(e.keyCode);
}
});
});