mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-30 22:29:32 +00:00
Improve ET auto answer view
This commit is contained in:
1 parent
d837b624e2
commit
60e606b370
2 files changed
+23
-16
No files matched your search
+2
-2
@@ -41,8 +41,8 @@ class Invoice(models.Model):
|
||||
if self.payment_method == "SITH_ACCOUNT":
|
||||
self.user.customer.amount -= self.get_total()
|
||||
self.user.customer.save()
|
||||
self.validated = True
|
||||
self.save()
|
||||
self.validated = True
|
||||
self.save()
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user