mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
[PUI] Hide blank contact field (#6909)
This commit is contained in:
parent
c6f178af72
commit
d96b36f0b3
@ -163,7 +163,8 @@ export default function PurchaseOrderDetail() {
|
|||||||
name: 'contact',
|
name: 'contact',
|
||||||
label: t`Contact`,
|
label: t`Contact`,
|
||||||
icon: 'user',
|
icon: 'user',
|
||||||
copy: true
|
copy: true,
|
||||||
|
hidden: !order.contact
|
||||||
}
|
}
|
||||||
// TODO: Project code
|
// TODO: Project code
|
||||||
];
|
];
|
||||||
|
@ -129,7 +129,8 @@ export default function ReturnOrderDetail() {
|
|||||||
name: 'contact',
|
name: 'contact',
|
||||||
label: t`Contact`,
|
label: t`Contact`,
|
||||||
icon: 'user',
|
icon: 'user',
|
||||||
copy: true
|
copy: true,
|
||||||
|
hidden: !order.contact
|
||||||
}
|
}
|
||||||
// TODO: Project code
|
// TODO: Project code
|
||||||
];
|
];
|
||||||
|
@ -133,7 +133,8 @@ export default function SalesOrderDetail() {
|
|||||||
name: 'contact',
|
name: 'contact',
|
||||||
label: t`Contact`,
|
label: t`Contact`,
|
||||||
icon: 'user',
|
icon: 'user',
|
||||||
copy: true
|
copy: true,
|
||||||
|
hidden: !order.contact
|
||||||
}
|
}
|
||||||
// TODO: Project code
|
// TODO: Project code
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user