mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	Refactor 'order parts' window from manufacturer part list
This commit is contained in:
		| @@ -325,9 +325,17 @@ | ||||
|         var parts = []; | ||||
|  | ||||
|         selections.forEach(function(item) { | ||||
|             parts.push(item.part); | ||||
|             var part = item.part_detail; | ||||
|             part.manufacturer_part = item.pk; | ||||
|             parts.push(part); | ||||
|         }); | ||||
|  | ||||
|         orderParts( | ||||
|             parts, | ||||
|         ); | ||||
|  | ||||
|         return; | ||||
|  | ||||
|         launchModalForm("/order/purchase-order/order-parts/", { | ||||
|             data: { | ||||
|                 parts: parts, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user