Nearly finished
This commit is contained in:
parent
daa3ee18bd
commit
47941f2039
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue