تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
1374 أدوات العرض

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
يوليو 25
1059
5
مايو 25
18505
0
أبريل 25
1215
1
أبريل 25
1671
0
مارس 25
1514