Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
1336 Vizualizări

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

Imagine profil
Abandonează
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 ?

Cel mai bun răspuns

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
iul. 25
890
5
mai 25
18308
0
apr. 25
1164
1
apr. 25
1608
0
mar. 25
1450