CRM-16929 rework calculate tpl to be more robust and generic
authoreileen <emcnaughton@wikimedia.org>
Thu, 12 Nov 2015 03:50:53 +0000 (19:50 -0800)
committereileen <emcnaughton@wikimedia.org>
Thu, 12 Nov 2015 03:50:53 +0000 (19:50 -0800)
commit2975161be094001e5304163f1d4bad132d572768
tree063c89e56c283088d6b43f818cca92e5010902c2
parent70af95e4cd0cadb62fb3dbccc7fadb4f07b6d18f
CRM-16929 rework calculate tpl to be more robust and generic

This makes is so that the data value 'line_raw_total' is (hopefully accurately) calculated on every price field value
including 'quickConfig' and 'no thanks' options and the data value 'raw_total' for the priceset is the sum of these
CRM/Price/BAO/PriceField.php
templates/CRM/Contribute/Form/Contribution/Main.tpl
templates/CRM/Price/Form/Calculate.tpl