mirror of
				https://github.com/inventree/InvenTree.git
				synced 2025-10-30 20:55:42 +00:00 
			
		
		
		
	[PUI] Build detail IPN (#7865)
* Add "IPN" detail to build order page * Add "IPN" column to build order table
This commit is contained in:
		| @@ -95,6 +95,14 @@ export default function BuildDetail() { | ||||
|         label: t`Part`, | ||||
|         model: ModelType.part | ||||
|       }, | ||||
|       { | ||||
|         type: 'text', | ||||
|         name: 'part_detail.IPN', | ||||
|         icon: 'part', | ||||
|         label: t`IPN`, | ||||
|         hidden: !build.part_detail?.IPN, | ||||
|         copy: true | ||||
|       }, | ||||
|       { | ||||
|         type: 'status', | ||||
|         name: 'status', | ||||
| @@ -104,13 +112,15 @@ export default function BuildDetail() { | ||||
|       { | ||||
|         type: 'text', | ||||
|         name: 'reference', | ||||
|         label: t`Reference` | ||||
|         label: t`Reference`, | ||||
|         copy: true | ||||
|       }, | ||||
|       { | ||||
|         type: 'text', | ||||
|         name: 'title', | ||||
|         label: t`Description`, | ||||
|         icon: 'description' | ||||
|         icon: 'description', | ||||
|         copy: true | ||||
|       }, | ||||
|       { | ||||
|         type: 'link', | ||||
|   | ||||
| @@ -43,6 +43,12 @@ function buildOrderTableColumns(): TableColumn[] { | ||||
|       switchable: false, | ||||
|       render: (record: any) => PartColumn(record.part_detail) | ||||
|     }, | ||||
|     { | ||||
|       accessor: 'part_detail.IPN', | ||||
|       sortable: true, | ||||
|       switchable: true, | ||||
|       title: t`IPN` | ||||
|     }, | ||||
|     { | ||||
|       accessor: 'title', | ||||
|       sortable: false | ||||
|   | ||||
		Reference in New Issue
	
	Block a user