[PUI] Hide blank contact field (#6909)

This commit is contained in:
Oliver 2024-04-02 14:35:30 +11:00 committed by GitHub
parent c6f178af72
commit d96b36f0b3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 3 deletions

View File

@ -163,7 +163,8 @@ export default function PurchaseOrderDetail() {
name: 'contact',
label: t`Contact`,
icon: 'user',
copy: true
copy: true,
hidden: !order.contact
}
// TODO: Project code
];

View File

@ -129,7 +129,8 @@ export default function ReturnOrderDetail() {
name: 'contact',
label: t`Contact`,
icon: 'user',
copy: true
copy: true,
hidden: !order.contact
}
// TODO: Project code
];

View File

@ -133,7 +133,8 @@ export default function SalesOrderDetail() {
name: 'contact',
label: t`Contact`,
icon: 'user',
copy: true
copy: true,
hidden: !order.contact
}
// TODO: Project code
];