Conditionally Hide a component on Manage Invoices using expression language
Summary:
I want to conditionally show/hide a component on the Manage Invoices UI depending on the invoice type.
Content (please ensure you mask any confidential information):
We've created a personalization on the Manage Invoices UI, to display a hyperlink to open an analysis showing supplier details based on the supplier number. As we're implementing Fusion Expenses, that's not relevant, as the employee isn't a supplier, so I want to hide that hyperlink when the invoice type is "Payment Request"
I'm struggling to find the correct EL expression.
#{invoiceType!='PAYMENT REQUEST'} - returns true when I test it, even when the invoice type is a payment request