Nearly finished

This commit is contained in:
david_g 2021-02-05 20:04:20 +01:00
parent daa3ee18bd
commit 47941f2039
1 changed files with 4 additions and 3 deletions

View File

@ -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: