Private
Public Access
1
0

changes in plan and payment around instant plans

This commit is contained in:
Sander Roosendaal
2021-11-04 16:30:45 +01:00
parent 4a6bceae71
commit 4a772ed409
3 changed files with 7 additions and 3 deletions

View File

@@ -108,7 +108,7 @@ class InstantPlanSelectForm(forms.Form):
datechoice = forms.ChoiceField(choices=datechoices,initial='enddate',label='Plan by target, start or end date',
widget=forms.RadioSelect)
notes = forms.CharField(required=False,
max_length=200,label='Course Notes',
max_length=200,label='Plan Notes',
widget=forms.Textarea)
def __init__(self, *args, **kwargs):
@@ -184,7 +184,7 @@ class TrainingPlanBillingForm(forms.Form):
paymenttype = forms.CharField(max_length=255,required=True)
enddate = forms.DateField(widget=forms.HiddenInput)
name = forms.CharField(max_length=255,required=False)
notes = forms.CharField(max_length=255,required=True)
notes = forms.CharField(max_length=255,required=False)
status = forms.CharField(max_length=255,required=True)
tac= forms.BooleanField(required=True,initial=False)