Fixes on librarytransaction, student discipline & training courses

Fixes on librarytransaction, student discipline & training courses