|
|
|
@ -17,13 +17,16 @@ class AktRabotForm(BaseModelForm): |
|
|
|
'client', |
|
|
|
'client', |
|
|
|
'invoice', |
|
|
|
'invoice', |
|
|
|
'nds_value', |
|
|
|
'nds_value', |
|
|
|
|
|
|
|
'nds_method', |
|
|
|
'doc_text', |
|
|
|
'doc_text', |
|
|
|
) |
|
|
|
) |
|
|
|
_radioselect = forms.RadioSelect |
|
|
|
_radioselect = forms.RadioSelect |
|
|
|
_textarea = forms.Textarea(attrs={'cols': 80, 'rows': 3}) |
|
|
|
_textarea = forms.Textarea(attrs={'cols': 80, 'rows': 3}) |
|
|
|
widgets = { |
|
|
|
widgets = { |
|
|
|
'doc_text': _textarea, |
|
|
|
'doc_text': _textarea, |
|
|
|
|
|
|
|
'nds_method': forms.RadioSelect() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
# nds_method = forms.ChoiceField(widget=forms.RadioSelect()) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class AktRabotAdminForm(AktRabotForm): |
|
|
|
class AktRabotAdminForm(AktRabotForm): |
|
|
|
|