Sep 30, 20223:43 PM - bearbeitet Okt 4, 202210:06 AM
Teilnehmer/-in
Stranger conditional in email, maybe I found a bug?
Hello everyone!
I build a module for single email (doc here) and I am trying to understand why the email is returning asFALSE and that the correct one should come asTRUE.
Code in module (type email):
{% if custom.payment_method|upper == "BOLETO" %}
... a div with elements here ...
{% endif %}
Test debugg:
-- debugg: {{ custom.payment_method }} <br>
-- debugg: {{ custom.payment_method == "boleto" }} <br>
-- debugg: {{ custom.payment_method|upper == "BOLETO" }} <br>