Skip to content

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
rebkwok committed Sep 17, 2023
1 parent d265b6d commit e4b645f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions booking/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -683,15 +683,6 @@ def payment_method(self):
else:
return "Voucher"
return ""

@cached_property
def stripe_paid(self):
from stripe_payments.models import Invoice
if not self.paid or self.block is not None:
return False
return Invoice.objects.filter(
bookings=self, paid=True
).exists()

@property
def cost_with_voucher(self):
Expand Down

0 comments on commit e4b645f

Please sign in to comment.