Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
1355 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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




Tác giả

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

any other idea ?

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 7 25
1002
5
thg 5 25
18454
0
thg 4 25
1200
1
thg 4 25
1650
0
thg 3 25
1500