Added 'supply' page to create negative register transactions, updated translation
This commit is contained in:
parent
80b407069d
commit
86ea7c0000
10 changed files with 278 additions and 68 deletions
|
@ -21,6 +21,7 @@ class User(AbstractUser):
|
|||
balance = models.DecimalField(max_digits=8, decimal_places=2, default=0.00)
|
||||
allow_order_with_negative_balance = models.BooleanField(default=False)
|
||||
profile_picture_filename = models.CharField(default="default.svg", max_length=25)
|
||||
allowed_to_supply = models.BooleanField(default=False)
|
||||
|
||||
def delete(self, *args, **kwargs):
|
||||
self.balance = 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue