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):
|
def client_bill_delete(self, bill_num):
|
||||||
"""Deletes a bill number that includes the checking out process."""
|
"""Deletes a bill number that includes the checking out process."""
|
||||||
if bill_num in self.bookings:
|
if bill_num in self.bookings:
|
||||||
|
self.vip_status()
|
||||||
self.bookings.remove(bill_num)
|
self.bookings.remove(bill_num)
|
||||||
print("Rechnung wurde beim Gast", self.client_num, "gelöscht.")
|
print("Rechnung wurde beim Gast", self.client_num, "gelöscht.")
|
||||||
self.check_out()
|
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."""
|
"""Adjusts the VIP Status of a client."""
|
||||||
if len(self.bookings) > 3:
|
if len(self.bookings) > 3:
|
||||||
self.status = True
|
self.status = True
|
||||||
else:
|
if len(self.bookings) < 4:
|
||||||
self.status = False
|
self.status = False
|
||||||
|
|
||||||
|
|
||||||
|
@ -880,8 +881,8 @@ vorhanden.")
|
||||||
input()
|
input()
|
||||||
clear()
|
clear()
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
||||||
if client == "5":
|
if client == "5":
|
||||||
print("Freie Zimmer anzeigen\n")
|
print("Freie Zimmer anzeigen\n")
|
||||||
while True:
|
while True:
|
||||||
|
|
Loading…
Reference in New Issue