Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
1396 Näkymät

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
Hylkää
Tekijä

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




Tekijä

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

any other idea ?

Paras vastaus

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
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
1
heinäk. 25
1083
5
toukok. 25
18557
0
huhtik. 25
1227
1
huhtik. 25
1687
0
maalisk. 25
1524