This commit is contained in:
Pierre-antoine Comby 2019-07-08 15:26:32 +02:00
parent d0e1920a0d
commit 80143251c1
1 changed files with 4 additions and 4 deletions

View File

@ -33,11 +33,11 @@ class Note(models.Model):
An abstract model, use to add transactions capabilities to a user An abstract model, use to add transactions capabilities to a user
""" """
solde = model.IntegerField( solde = models.IntegerField(
verbose_name=_('solde du compte'), verbose_name=_('solde du compte'),
help_text=_("en centime, l' argent crédité pour cette instance") help_text=_("en centime, l' argent crédité pour cette instance")
) )
active = model.BooleanField( active = models.BooleanField(
default = True, default = True,
verbose_name=_('etat du compte') verbose_name=_('etat du compte')
) )
@ -60,7 +60,7 @@ class NoteUser(Note):
def __str__(self): def __str__(self):
return self.user.get_username() return self.user.get_username()
aliases = model.ForeignKey(Aliases) aliases = models.ForeignKey(Aliases)
@ -73,7 +73,7 @@ class NoteSpec(Note):
- Bank Check - Bank Check
- Refund - Refund
""" """
account_type = model.CharField( account_type = models.CharField(
max_length = 2, max_length = 2,
choices = (("CH","chèques"), choices = (("CH","chèques"),
("CB","Carte Bancaire"), ("CB","Carte Bancaire"),