跳至内容
菜单
此问题已终结
1 回复
1339 查看

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

形象
丢弃
编写者

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




编写者

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

any other idea ?

最佳答案

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

形象
丢弃
相关帖文 回复 查看 活动
1
7月 25
901
5
5月 25
18318
0
4月 25
1164
1
4月 25
1611
0
3月 25
1451