Fixes for not displaying Capture Payments action menu item on Invoice View page if payment has already been made. (Not working correctly yet due to API issue).