confirm check
This commit is contained in:
parent
8289f24b69
commit
f9189ea413
|
@ -85,6 +85,9 @@ class TradeView():
|
||||||
if self.trade.user_from and self.trade.user_to:
|
if self.trade.user_from and self.trade.user_to:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
if self.trade.confirm:
|
||||||
|
return
|
||||||
|
|
||||||
if self.trade.user_from and not self.trade.user_to:
|
if self.trade.user_from and not self.trade.user_to:
|
||||||
assert g.user == self.trade.user_from
|
assert g.user == self.trade.user_from
|
||||||
email = "{}_{}@dhub.com".format(str(self.trade.user_from.id), self.trade.code)
|
email = "{}_{}@dhub.com".format(str(self.trade.user_from.id), self.trade.code)
|
||||||
|
|
Reference in New Issue