Fix token boolean filter to work with money & use in templates
authorEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 17 May 2023 22:12:21 +0000 (10:12 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 17 May 2023 23:48:41 +0000 (11:48 +1200)
commitf6590591539fda308b12cd7033bdfba97e961a58
treeb47389df6d1777ff3b7135f0019f1cb0329b4252
parent0c3e95966b898ad239777106457c15fb0b78e467
Fix token boolean filter to work with money & use in templates

The |raw comparison is quite confusing because it compares to 0.00
& we are otherwise using the |boolean increasingly
CRM/Core/EntityTokens.php
Civi/Token/TokenProcessor.php
tests/phpunit/CRM/Event/Form/Task/BadgeTest.php
tests/phpunit/CRM/Utils/TokenConsistencyTest.php
xml/templates/message_templates/contribution_offline_receipt_html.tpl
xml/templates/message_templates/contribution_offline_receipt_text.tpl
xml/templates/message_templates/contribution_online_receipt_html.tpl
xml/templates/message_templates/contribution_online_receipt_text.tpl
xml/templates/message_templates/membership_offline_receipt_html.tpl
xml/templates/message_templates/membership_offline_receipt_text.tpl