rebu2go added
This commit is contained in:
parent
b7742b5629
commit
4dbb57ce42
|
@ -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:
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -13,4 +13,7 @@ MAILS = {'IT': {
|
|||
'MAIL': 'office@wikimedia.de',
|
||||
'DATA': ['transponder',],
|
||||
},
|
||||
'ACCOUNTING': {'MAIL': 'accounting@wikimedia.de',
|
||||
'DATA': ['rebu2go',],
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue