Esempio n. 1
0
 def accept_result():
     DbManager.modify_ride_distribution(self, ride_id[0],
                                        "accept", drivername)
     individual_ride_window.destroy()
     ride_details = DbManager.fetch_ride_details(
         self, ride_id[0])
     user_phone_number = DbManager.fetch_user_phone_no(
         self, ride_details[5])
     Ride_acceptance_window.accepted_ride_window(
         self, ride_details, user_phone_number)
Esempio n. 2
0
 def reject_result():
     DbManager.modify_ride_distribution(self, ride_id[0],
                                        "reject", drivername)
     individual_ride_window.destroy()
     Ride_acceptance_window.ride_window(self, drivername)