Add Edit loan transaction and issues with products

This pull have fixes for #383 #382 #373 #339