콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
1556 화면

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
7월 25
1519
5
5월 25
19156
0
4월 25
1547
1
4월 25
1923
0
3월 25
1800