mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-07-19 23:51:25 +02:00
Rename 'caution' fields into 'deposit'
This commit is contained in:
@ -33,8 +33,8 @@ class WEIClub(Club):
|
||||
verbose_name=_("date end"),
|
||||
)
|
||||
|
||||
caution_amount = models.PositiveIntegerField(
|
||||
verbose_name=_("caution amount"),
|
||||
deposit_amount = models.PositiveIntegerField(
|
||||
verbose_name=_("deposit amount"),
|
||||
default=0,
|
||||
)
|
||||
|
||||
@ -202,19 +202,19 @@ class WEIRegistration(models.Model):
|
||||
verbose_name=_("Credit from Société générale"),
|
||||
)
|
||||
|
||||
caution_check = models.BooleanField(
|
||||
deposit_check = models.BooleanField(
|
||||
default=False,
|
||||
verbose_name=_("Caution check given")
|
||||
verbose_name=_("Deposit check given")
|
||||
)
|
||||
|
||||
caution_type = models.CharField(
|
||||
deposit_type = models.CharField(
|
||||
max_length=16,
|
||||
choices=(
|
||||
('check', _("Check")),
|
||||
('note', _("Note transaction")),
|
||||
),
|
||||
default='check',
|
||||
verbose_name=_("caution type"),
|
||||
verbose_name=_("deposit type"),
|
||||
)
|
||||
|
||||
birth_date = models.DateField(
|
||||
|
Reference in New Issue
Block a user