2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-02 03:30:54 +00:00

[PUI] Implement "build outputs" table (#7115)

* Update build line allocation table

- Allow display of "tracked" items in main allocation table

* Add resolveItem function for finding nested items

* Update BuildLineTable

* Allow BuildLineList to be ordered by 'trackable' field

* Bump API version

* Building out columns

* Table tweaks

* Fetch list of required test templates

* Tweaks

* Add placeholders for table actions

* Add typing

* Add placeholder buttons

* Update columns

* Add button to duplicate build order

* Add placeholder cancel action

* Refactoring

* Edit company from table

* Change "create" to "add"

* Change more from Create to Add
This commit is contained in:
Oliver
2024-04-25 10:11:44 +10:00
committed by GitHub
parent 5f54aef79a
commit d30ab932ca
27 changed files with 581 additions and 147 deletions

View File

@ -12,8 +12,10 @@ import {
IconCalendarStats,
IconCategory,
IconCheck,
IconCircleCheck,
IconCircleMinus,
IconCirclePlus,
IconCircleX,
IconClipboardList,
IconClipboardText,
IconCopy,
@ -59,6 +61,7 @@ import {
IconTool,
IconTools,
IconTransfer,
IconTransitionRight,
IconTrash,
IconTruck,
IconTruckDelivery,
@ -130,6 +133,10 @@ const icons = {
delete: IconTrash,
packaging: IconPackage,
packages: IconPackages,
install: IconTransitionRight,
plus: IconCirclePlus,
minus: IconCircleMinus,
cancel: IconCircleX,
// Part Icons
active: IconCheck,
@ -186,7 +193,8 @@ const icons = {
batch_code: IconClipboardText,
destination: IconFlag,
repeat_destination: IconFlagShare,
unlink: IconUnlink
unlink: IconUnlink,
success: IconCircleCheck
};
export type InvenTreeIconType = keyof typeof icons;