update design for bill_create

This commit is contained in:
2024-01-22 22:15:53 +00:00
parent ced2a1dfab
commit d11dc8d7fe
5 changed files with 99 additions and 79 deletions

View File

@@ -51,7 +51,7 @@ class BillCreateForm(forms.ModelForm):
"amount": "Betrag (EUR)",
"purpose": "Verwendungszweck",
"affiliation": "Abrechnungsbudget",
"payer": "Wie wurde die Rechnung bezahlt?",
"payer": "Ursprüngliche Bezahlmethode",
"only_digital": "Ich habe nur eine digitale Rechnung.",
"file_field": "Rechnung hochladen (PDF)",
"comment": "Kommentar",
@@ -74,8 +74,9 @@ class BillCreateForm(forms.ModelForm):
self.fields["bill_creator"].initial = member
self.fields["bill_creator"].disabled = True
self.fields["invoice"].placeholder = "Firmenname\nStraße\nPLZ Ort"
self.fields["invoice"].rows = 3
self.fields["invoice"].placeholder = "Firmenname\nStraße\nPLZ und Ort"
self.fields["invoice"].cols = 30
self.fields["invoice"].rows = 4
# bank data fields
self.fields["payer"].autofocus = True