Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
1382 Ansichten

Hello is possible to create a condition how check if title of invoice contain value

t t-if="object.invoice_origin like 'héb' OR 'maint' OR 'dom"
my text
t

i need to check if title contain some part of word
'hébergement'
'maintenance'
'domaine'

but seems doesn't works, what i do wrong ?

regards

Avatar
Verwerfen
Autor

Thanks for this reply juste to be sure m'y title Can be more longuer your code code check if word IS in ? Regards




Autor

hello thanks for you reply i test it but doesn't works 

any other idea ?

Beste Antwort

Hi,

Please try the below condition

<t t-if="'hébergement' in object.invoice_origin or 'maintenance' in object.invoice_origin or 'domaine' in object.invoice_origin">



Hope it helps

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Juli 25
1068
5
Mai 25
18510
0
Apr. 25
1219
1
Apr. 25
1678
0
März 25
1517