跳至內容
選單
此問題已被標幟
1 回覆
1375 瀏覽次數

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
1061
5
5月 25
18505
0
4月 25
1215
1
4月 25
1672
0
3月 25
1515