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/public_html/lrsys_apps/leo/application/plugins/module_billing/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/public_html/lrsys_apps/leo/application/plugins/module_billing/assets/js/cost_center.js
$(function() {
	add();
	edit();
});

function add() {
	$(".progress").hide();
	$("#emsg").hide();
	var _url = $("#_url").val();

	var $modal = $('#ajax-modal');
	$("#cost_center_add").click(function(e){
		e.preventDefault();
		// create the backdrop and wait for next modal to be triggered
		$('body').modalmanager('loading');
		setTimeout(function () {
			$modal.load(_url + 'module_billing/cost_center/modal_add_cost_center/', '', function () {
				$modal.modal();

				$('#modal_cost_center_submit').on('click', function() {
					$('#form_cost_center').submit();
				});
			});
		}, 1000);
	});
}

function edit() {
	$(".progress").hide();
	$("#emsg").hide();
	var _url = $("#_url").val();

	var $modal = $('#ajax-modal');
	$(".cost_center_edit").click(function(e){
		e.preventDefault();

		var id = $(this).data('id');

		$('body').modalmanager('loading');
		setTimeout(function () {
			$modal.load(_url + 'module_billing/cost_center/modal_edit_cost_center/' + id, '', function () {
				$modal.modal();

				$('#modal_cost_center_submit').on('click', function() {
					$('#form_cost_center').submit();
				});
			});
		}, 1000);
	});
}

Anon7 - 2022
AnonSec Team