implements logic and callback function in booking detail view.

implements logic and callback function in booking detail view.