İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
1330 Görünümler

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

Avatar
Vazgeç
Üretici

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




Üretici

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

any other idea ?

En İyi Yanı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

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Tem 25
817
5
May 25
18245
0
Nis 25
1114
1
Nis 25
1581
0
Mar 25
1434