CRM-18488 also add next_scheduled_amount
authorEileen <eileen@fuzion.co.nz>
Mon, 2 May 2016 10:50:09 +0000 (10:50 +0000)
committerEileen <eileen@fuzion.co.nz>
Mon, 2 May 2016 10:52:24 +0000 (10:52 +0000)
commit36aff7b7d587dfb5a099846d144218356ab298d0
tree57820b14d48fb11787062f636f445c08c00ad920
parent80c17053a0332247ecf202532ffa352c05e71325
CRM-18488 also add next_scheduled_amount

Note that the code previously would have been inaccurate in the rare situation where pledge payments had been
edited to the point where the ids were not in date order. I have added a fix for that, although if it would be possible to go
further & create a temp table for performance
CRM/Report/Form/Pledge/Detail.php
CRM/Report/Form/Pledge/Pbnp.php