Add Edit loan transaction and issues with products

Fix for issue #382
Merge pull request #388 from lingalamadhukar/bugfixes

Add Edit loan transaction and issues with products