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/work_orders/work_order_manage_js.php
<script>

	(function($) {
		"use strict";

		$(".select2").select2();

		var InvoiceServerParams={
			"manufacturing_order_filter": "[name='manufacturing_order_filter[]']",
			"products_filter": "[name='products_filter[]']",
			"status_filter": "[name='status_filter[]']",
		};
		var work_order_table = $('.table-work_order_table');
		

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

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

		$.each(InvoiceServerParams, function(i, obj) {
			$('select' + obj).on('change', function() {  
				work_order_table.DataTable().ajax.reload();
			});
		});
		
	})(jQuery);

</script>