first commit
This commit is contained in:
@@ -7,18 +7,27 @@ class FormsChartOfAccount(forms.ModelForm):
|
||||
fields = [
|
||||
'name',
|
||||
'debit',
|
||||
'credit',
|
||||
'firm',
|
||||
'prof',
|
||||
'month',
|
||||
'notes',
|
||||
]
|
||||
widgets = {
|
||||
'name': forms.TextInput({'class':'form-control'}),
|
||||
'debit': forms.CheckboxInput({'class':''}),
|
||||
'credit': forms.CheckboxInput({'class':''}),
|
||||
'firm': forms.CheckboxInput({'class':''}),
|
||||
'prof': forms.CheckboxInput({'class':''}),
|
||||
'month': forms.CheckboxInput({'class':''}),
|
||||
'notes': forms.Textarea({'class':'form-control','rows':3 , }),
|
||||
}
|
||||
labels={
|
||||
'name':'Nome',
|
||||
'debit':'Debito',
|
||||
'credit':'Credito',
|
||||
'firm':'Firma',
|
||||
'prof':'Profissinal',
|
||||
'month':'Mensal',
|
||||
'notes':'Notas',
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user