Fix rc regression - balance amount missing
authorEileen McNaughton <emcnaughton@wikimedia.org>
Fri, 6 Oct 2023 23:15:41 +0000 (12:15 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Sat, 7 Oct 2023 01:29:50 +0000 (14:29 +1300)
commit959e7e6e1f5cd3ef52a5c8443788a63e8080db3b
treee56e5b7147277e68bf4f1908333f13a752031c5f
parent1625e703f7d2dd8f6b72fe3acbd928946f09c96d
Fix rc regression - balance amount missing

This is pretty hard to get to (outside the test). You need to configure
an event with a pending contribution and then partially pay it
and go back & send a receipt.

Unfortunately the
Paid amount & Balance amount
 got removed from the html version by accident
and the tests didn't pick it up because they were testing
the text version - which had not had many of the recent updates
applied (it was going to be done after but we have since decided to remove the
text version).

This updates the test to check the html version, puts back the removed text
and adds it to the preview screen
CRM/Event/WorkflowMessage/EventExamples.php
CRM/Financial/BAO/Order.php
tests/phpunit/CRM/Event/Form/ParticipantTest.php
xml/templates/message_templates/event_offline_receipt_html.tpl