Record charge amount in unused Bid.charge attribute.

This commit is contained in:
bsimpson63
2013-05-28 11:50:19 -04:00
committed by Brian Simpson
parent e65985295e
commit 2be7bf01e8

View File

@@ -333,7 +333,9 @@ class Bid(Sessionized, Base):
return (self.status == self.STATUS.VOID)
def charged(self):
self.charge = self.bid
self.set_status(self.STATUS.CHARGE)
self._commit()
def is_charged(self):
"""