Merge pull request 'fix-layout' (#29) from fix-layout into master

This commit is contained in:
dkdent 2020-10-22 09:30:11 +00:00
commit 4690c6c681
3 changed files with 12 additions and 12 deletions

View file

@ -11,13 +11,13 @@ class base_data_model():
self.forms['nickname'] = form.add(npyscreen.TitleText, name="Nickname: ",
value=base_data['nickname'])
self.forms['address_street'] = form.add(
npyscreen.TitleText, name="Adresse - Straße: ", value=base_data['address_street'])
npyscreen.TitleText, begin_entry_at=20, use_two_lines=False, name="Adresse - Straße: ", value=base_data['address_street'])
self.forms['address_locality'] = form.add(
npyscreen.TitleText, name="Adresse - Stadt: ", value=base_data['address_locality'])
self.forms['address_code'] = form.add(npyscreen.TitleText,
npyscreen.TitleText, begin_entry_at=20, use_two_lines=False, name="Adresse - Stadt: ", value=base_data['address_locality'])
self.forms['address_code'] = form.add(npyscreen.TitleText, begin_entry_at=20, use_two_lines=False,
name="Adresse - PLZ: ", value=base_data['address_code'])
self.forms['address_country'] = form.add(
npyscreen.TitleText, name="Adresse - Land: ", value=base_data['address_country'])
npyscreen.TitleText, begin_entry_at=20, use_two_lines=False, name="Adresse - Land: ", value=base_data['address_country'])
self.forms['birth_date'] = form.add(npyscreen.TitleText,
name="Geburtstag: ", value=base_data['birth_date'])
self.forms['birth_location'] = form.add(

View file

@ -9,12 +9,12 @@ class financial_data_model():
fin = self.financial_data_dict
self.forms['iban'] = form.add(npyscreen.TitleText, name="IBAN: ", value=fin['iban'])
self.forms['bic'] = form.add(npyscreen.TitleText, name="BIC: ", value=fin['bic'])
self.forms['holder'] = form.add(npyscreen.TitleText, name="Kontoinhaber: ", value=fin['holder'])
self.forms['issuance'] = form.add(npyscreen.TitleText, name="Tag der Erteilung Lastschriftmandat: ",
self.forms['holder'] = form.add(npyscreen.TitleText, use_two_lines=False, name="Kontoinhaber: ", value=fin['holder'])
self.forms['issuance'] = form.add(npyscreen.TitleText, begin_entry_at=38, use_two_lines=False, name="Tag der Erteilung Lastschriftmandat: ",
value=fin['issuance'])
self.forms['reference'] = form.add(npyscreen.TitleText, name="Mandatsreferenznummer: ",
self.forms['reference'] = form.add(npyscreen.TitleText, begin_entry_at=24, use_two_lines=False, name="Mandatsreferenznummer: ",
value=fin['reference'])
self.forms['scan-sepa-mandate'] = form.add(npyscreen.TitleText, name="URI Scan SEPA-Mandat: ",
self.forms['scan-sepa-mandate'] = form.add(npyscreen.TitleText, begin_entry_at=24, use_two_lines=False, name="URI Scan SEPA-Mandat: ",
value=fin['scan-sepa-mandate'])
def get_form_values_dict(self):

View file

@ -23,13 +23,13 @@ class membership_data_model():
max_height=3, scroll_exit=True)
self.forms['von'] = parent_form.add(npyscreen.TitleText, name="Von: ", value=mem['von'])
self.forms['bis'] = parent_form.add(npyscreen.TitleText, name="Bis: ", value=mem['bis'])
self.forms['mitgliedsbeitrag'] = parent_form.add(npyscreen.TitleText, name="Mitgliedsbeitrag: ",
self.forms['mitgliedsbeitrag'] = parent_form.add(npyscreen.TitleText, begin_entry_at=20, use_two_lines=False, name="Mitgliedsbeitrag: ",
value=mem['mitgliedsbeitrag'])
self.forms['spendenbeitrag'] = parent_form.add(npyscreen.TitleText, name="Spendenbeitrag: ",
self.forms['spendenbeitrag'] = parent_form.add(npyscreen.TitleText, begin_entry_at=20, use_two_lines=False, name="Spendenbeitrag: ",
value=mem['spendenbeitrag'])
self.forms['schliessberechtigung'] = parent_form.add(npyscreen.TitleText, name="Schliessberechtigung: ",
self.forms['schliessberechtigung'] = parent_form.add(npyscreen.TitleText, begin_entry_at=24, use_two_lines=False, name="Schliessberechtigung: ",
value=mem['schliessberechtigung'])
self.forms['scan-antrag'] = parent_form.add(npyscreen.TitleText, name="URI Scan Antrag: ",
self.forms['scan-antrag'] = parent_form.add(npyscreen.TitleText, begin_entry_at=18, use_two_lines=False, name="URI Scan Antrag: ",
value=mem['scan-antrag'])
def get_form_values_dict(self):