fix get history rr reservation, compute payment

ap role in view, add verification check, handle multiple ap