|
@@ -41,7 +41,7 @@ class Invoice(models.Model):
|
|
return total.quantize(Decimal('0.01'))
|
|
return total.quantize(Decimal('0.01'))
|
|
|
|
|
|
def has_owner(self, uid):
|
|
def has_owner(self, uid):
|
|
- "Check if passed uid is owner of the invoice"
|
|
+ "Check if passed uid (ex gmajax) is owner of the invoice"
|
|
return self.member.ldap_cn == uid
|
|
return self.member.ldap_cn == uid
|
|
|
|
|
|
@staticmethod
|
|
@staticmethod
|