rebu2go added
This commit is contained in:
parent
b7742b5629
commit
4dbb57ce42
|
@ -42,7 +42,7 @@ class ITForm(EvaForm):
|
||||||
model = Employee
|
model = Employee
|
||||||
fields = [
|
fields = [
|
||||||
'laptop', 'vendor', 'os', 'screen', 'mobile', 'landline', 'comment',
|
'laptop', 'vendor', 'os', 'screen', 'mobile', 'landline', 'comment',
|
||||||
'language', 'accounts', 'lists', ]
|
'language', 'accounts', 'lists', 'rebu2go' ]
|
||||||
|
|
||||||
class OfficeForm(EvaForm):
|
class OfficeForm(EvaForm):
|
||||||
class Meta:
|
class Meta:
|
||||||
|
|
|
@ -70,6 +70,7 @@ class Employee(models.Model):
|
||||||
language = models.CharField(max_length=3, choices=LANG_CHOICES.items(), default="GER")
|
language = models.CharField(max_length=3, choices=LANG_CHOICES.items(), default="GER")
|
||||||
accounts = MultiSelectField(choices=ACCOUNT_CHOICES.items(), null=True)
|
accounts = MultiSelectField(choices=ACCOUNT_CHOICES.items(), null=True)
|
||||||
lists = models.CharField(max_length=100, null=True)
|
lists = models.CharField(max_length=100, null=True)
|
||||||
|
rebu2go = models.BooleanField(verbose_name="Rebu2Go-Zugang benötigt?", default=False)
|
||||||
|
|
||||||
# office related stuff
|
# office related stuff
|
||||||
transponder = models.CharField(max_length=7, choices=TRANSPONDER_CHOICES.items(), default='NORM')
|
transponder = models.CharField(max_length=7, choices=TRANSPONDER_CHOICES.items(), default='NORM')
|
||||||
|
|
|
@ -13,4 +13,7 @@ MAILS = {'IT': {
|
||||||
'MAIL': 'office@wikimedia.de',
|
'MAIL': 'office@wikimedia.de',
|
||||||
'DATA': ['transponder',],
|
'DATA': ['transponder',],
|
||||||
},
|
},
|
||||||
|
'ACCOUNTING': {'MAIL': 'accounting@wikimedia.de',
|
||||||
|
'DATA': ['rebu2go',],
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue