Compare commits

...

2 Commits

Author SHA1 Message Date
Benni Bärmann 34cbf0f550 added bvg field to HR mail 2021-03-30 10:29:04 +02:00
Benni Bärmann 5c252c81f0 BVG form field added 2021-03-30 10:27:22 +02:00
4 changed files with 22 additions and 3 deletions

View File

@ -42,7 +42,7 @@ class WorkingForm(EvaForm):
class Meta:
model = Employee
fields = ['firstdate_employment', 'firstdate_presence', 'jobdescription_german',
'jobdescription_english', 'remote', 'desk',]
'jobdescription_english', 'remote', 'desk', 'bvg']
widgets = {'firstdate_employment': DateInput(attrs={'type': 'date'}),
'firstdate_presence': DateInput(attrs={'type': 'date'}),}

View File

@ -0,0 +1,18 @@
# Generated by Django 3.1.4 on 2021-03-30 08:25
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('evapp', '0011_auto_20210329_1254'),
]
operations = [
migrations.AddField(
model_name='employee',
name='bvg',
field=models.BooleanField(default=True, verbose_name='Bekommt eine BVG-Karte, weil in Berlin tätig'),
),
]

View File

@ -62,7 +62,8 @@ class Employee(models.Model):
jobdescription_english = models.CharField(null=True, max_length=100, verbose_name="Job description(english)")
remote = models.BooleanField(verbose_name='Braucht keinen Arbeitsplatz weil Home-Office', default=False)
desk = models.CharField(max_length=100, null=True, blank=True, verbose_name="Wo soll der Arbeitsplatz sein?")
bvg = models.BooleanField(verbose_name='Bekommt eine BVG-Karte, weil in Berlin tätig', default=True)
# IT related stuff
laptop = models.CharField(max_length=2, choices=LAPTOP_CHOICES.items(), default='14')
vendor = models.CharField(max_length=8, choices=VENDOR_CHOICES.items(), default='STANDARD')

View File

@ -37,7 +37,7 @@ MAILS = {
'HR': {
'MAIL': 'hr@wikimedia.de',
'DATA': [
'department', 'team', 'language',
'department', 'team', 'language', 'eva',
]
},
'DIRECTORAT': {