コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
1378 ビュー

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
1068
5
5月 25
18510
0
4月 25
1218
1
4月 25
1677
0
3月 25
1517