Remove trailing zeros in tax rate for online Confirm/Thankyou forms. The actual...
authorMatthew Wire <mjw@mjwconsult.co.uk>
Mon, 7 Aug 2017 21:15:52 +0000 (22:15 +0100)
committerMatthew Wire <mjw@mjwconsult.co.uk>
Mon, 7 Aug 2017 21:15:52 +0000 (22:15 +0100)
commit4b58e3b405345eb95f9e45121c486a76aa9f6b33
treee43164d8828c74cc84484326e07dc32ffc7b9dc1
parent2597efbc4142c0b2113eac9f03da8c08f53b6729
Remove trailing zeros in tax rate for online Confirm/Thankyou forms.  The actual change is a cast to float, but a small amount of rearranging the function was required so it was actually set.  Added note that buildQuickform() in Confirm.php and Thankyou.php share quite a bit of code and would benefit from refactoring
CRM/Contribute/Form/Contribution/Confirm.php
CRM/Contribute/Form/Contribution/ThankYou.php