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/self/cwd/pm/plugins/Manufacturing/assets/js/routings/routing_details/operation_manage_js.php
<script>

	(function($) {
		"use strict"; 

		var InvoiceServerParams={
			"routing_id": "[name='routing_id']",
		};
		var operation_table = $('.table-operation_table');

		initDataTable(operation_table, "<?php echo get_uri("manufacturing/operation_table") ?>",[0],[0], InvoiceServerParams, [1 ,'asc']);

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

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


	function add_operation(routing_id, operation_id, type) {
	"use strict";

	  $("#modal_wrapper").load("<?php echo site_url('manufacturing/operation_modal'); ?>", {
	       routing_id: routing_id,
	       operation_id: operation_id,
	       type: type
	  }, function() {

	       $("body").find('#appointmentModal').modal('show');
	  });

	}


</script>