chol
/
eva
forked from tohe/eva
1
0
Fork 0

rebu2go added

This commit is contained in:
Benni Bärmann 2021-02-08 15:51:39 +01:00
parent b7742b5629
commit 4dbb57ce42
3 changed files with 5 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class ITForm(EvaForm):
model = Employee
fields = [
'laptop', 'vendor', 'os', 'screen', 'mobile', 'landline', 'comment',
'language', 'accounts', 'lists', ]
'language', 'accounts', 'lists', 'rebu2go' ]
class OfficeForm(EvaForm):
class Meta:

View File

@ -70,6 +70,7 @@ class Employee(models.Model):
language = models.CharField(max_length=3, choices=LANG_CHOICES.items(), default="GER")
accounts = MultiSelectField(choices=ACCOUNT_CHOICES.items(), null=True)
lists = models.CharField(max_length=100, null=True)
rebu2go = models.BooleanField(verbose_name="Rebu2Go-Zugang benötigt?", default=False)
# office related stuff
transponder = models.CharField(max_length=7, choices=TRANSPONDER_CHOICES.items(), default='NORM')

View File

@ -13,4 +13,7 @@ MAILS = {'IT': {
'MAIL': 'office@wikimedia.de',
'DATA': ['transponder',],
},
'ACCOUNTING': {'MAIL': 'accounting@wikimedia.de',
'DATA': ['rebu2go',],
}
}