Quite a silly mistake, really.
This commit is contained in:
parent
f6b7fab525
commit
d465d05d90
1 changed files with 2 additions and 2 deletions
|
@ -17,10 +17,10 @@ class Inquiry(models.Model):
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def is_paid(self):
|
def is_paid(self):
|
||||||
if not inquiry.invoice:
|
if not self.invoice:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
return inquiry.invoice.is_paid
|
return self.invoice.is_paid
|
||||||
|
|
||||||
def get_hotels(self):
|
def get_hotels(self):
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in a new issue