add buttons to payments vies
dynamically check routes for edit button