Merge the installments by payment date in Pupil-parent Portal