mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-31 13:15:43 +00:00 
			
		
		
		
	Render part information in stock item tracking table (if provided)
This commit is contained in:
		| @@ -2373,6 +2373,19 @@ function loadStockTrackingTable(table, options) { | ||||
|                 return html; | ||||
|             } | ||||
|  | ||||
|             // Part information | ||||
|             if (details.part) { | ||||
|                 html += `<tr><th>{% trans "Part" %}</th><td>`; | ||||
|  | ||||
|                 if (details.part_detail) { | ||||
|                     html += renderLink(details.part_detail.full_name, `/part/${details.part}/`); | ||||
|                 } else { | ||||
|                     html += `{% trans "Part information unavailable" %}`; | ||||
|                 } | ||||
|  | ||||
|                 html += `</td></tr>`; | ||||
|             } | ||||
|  | ||||
|             // Location information | ||||
|             if (details.location) { | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user