From 47941f2039563184484aa371c8f3f765d2b871d4 Mon Sep 17 00:00:00 2001 From: david_g Date: Fri, 5 Feb 2021 20:04:20 +0100 Subject: [PATCH] Nearly finished --- client_test.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/client_test.py b/client_test.py index 9e31bb3..05c7ffe 100644 --- a/client_test.py +++ b/client_test.py @@ -139,6 +139,7 @@ kostenloses Frühstück sowie die kostenlose Benutzung der Mini-Bar.") def client_bill_delete(self, bill_num): """Deletes a bill number that includes the checking out process.""" if bill_num in self.bookings: + self.vip_status() self.bookings.remove(bill_num) print("Rechnung wurde beim Gast", self.client_num, "gelöscht.") self.check_out() @@ -148,7 +149,7 @@ kostenloses Frühstück sowie die kostenlose Benutzung der Mini-Bar.") """Adjusts the VIP Status of a client.""" if len(self.bookings) > 3: self.status = True - else: + if len(self.bookings) < 4: self.status = False @@ -880,8 +881,8 @@ vorhanden.") input() clear() continue - - + + if client == "5": print("Freie Zimmer anzeigen\n") while True: