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/www/lrsys_apps/erp/application/plugins/module_stock/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/www/lrsys_apps/erp/application/plugins/module_stock/assets/js/notifications.js
function sendData() {
	var json = {};
	$('input[type=checkbox]').on('change', function() {
		var tr = $(this).closest('tr');
		var td = $(this).closest('td');
		json.id = tr.data('id');

		var values = {};
		var email = tr.find("input[name=email]").is(':checked');
		var sms = tr.find("input[name=sms]").is(':checked');
		var system = tr.find("input[name=system]").is(':checked');


		(email) ? values.email = true : '';
		(sms) ? values.sms = true : '';
		(system) ? values.system = true : '';

		json.values = values;

		var url = $('#_url').val();
		$.ajax({
			url: url + 'module_stock/stock/add_notifications_users_post/',
			data: json,
			method: "post",
			beforeSend: function(data) {
				$(".table-notifications").block({message: block_msg});

			},
			complete: function(data) {
				setTimeout(function() {
					$(".table-notifications").unblock();
				}, 2000);
			}
		});
	});
}

$(function() {
	sendData();
});

Anon7 - 2022
AnonSec Team