Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
1321 Zobrazení

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
Zrušit
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 ?

Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
čvc 25
743
5
kvě 25
18168
0
dub 25
1062
1
dub 25
1553
0
bře 25
1419