batch entry for pledges

Batch entry support for pledges:
User selects contact and it gives the list of pledges for recording pledge payment.

this should be $keyforopen = $value['id'];