Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
1532 Переглядів

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
1415
5
трав. 25
19004
0
квіт. 25
1470
1
квіт. 25
1864
0
бер. 25
1733