HEX
Server: Apache
System: Linux p3plzcpnl506847.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: slfopp7cb1df (5698090)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //proc/thread-self/cwd/pm/plugins/Manufacturing/assets/js/routings/routing_manage_js.php
<script>
	(function($) {
		"use strict"; 

		var InvoiceServerParams={};
		var routing_table = $('.table-routing_table');
		

		initDataTable(routing_table, "<?php echo get_uri("manufacturing/routing_table") ?>",[0],[0], InvoiceServerParams, [0 ,'desc']);

		$('#date_add').on('change', function() {
			routing_table.DataTable().ajax.reload();
		});

		var hidden_columns = [0];
		$('.table-routing_table').DataTable().columns(hidden_columns).visible(false, false);
		
	})(jQuery); 

	/**
	 * add routing
	 * @param {[type]} staff_id 
	 * @param {[type]} role_id  
	 * @param {[type]} add_new  
	 */
	 function add_routing(staff_id, role_id, add_new) {
		"use strict";

		$("#modal_wrapper").load("<?php echo site_url('manufacturing/routing_modal'); ?>", {
			slug: 'add',
		}, function() {
			$("body").find('#appointmentModal').modal('show');
			
		});

	 }

	</script>