CRM-16481 - Apply discounts if any; line_item is updated
authorzorgalina <zorgalina@gmail.com>
Sat, 9 May 2015 05:49:05 +0000 (22:49 -0700)
committereileenmcnaugton <eileen@fuzion.co.nz>
Sun, 22 May 2016 21:52:02 +0000 (09:52 +1200)
commit1e3401f3f61f69b0a45886c8c2ad571f12a7bc80
tree38f17c6f14ac2d7787d6193d31aeeb03aad164b8
parent254f0bcda23ea9cc9ea3d91996ab37ef7515af1b
CRM-16481 - Apply discounts if any; line_item is updated

Because multiple events are processed and the form isn't modeled on registerEvent, it was necessary to manually invoke discount methods; normally the hook buildAmount would do it - perhaps it'd be better to rewrite this page using buildAmount.
note: Line_item update has been added in this version's post_process already
Conflicts:
CRM/Event/Cart/Form/Checkout/Payment.php
CRM/Event/Cart/Form/Checkout/ParticipantsAndPrices.php
CRM/Event/Cart/Form/Checkout/Payment.php
CRM/Event/Cart/Form/MerParticipant.php