Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
1529 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ค. 25
1413
5
พ.ค. 25
18995
0
เม.ย. 25
1461
1
เม.ย. 25
1861
0
มี.ค. 25
1730