From ba1315d8a611f1b891cfd6610fbd053077357cb7 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Thu, 8 Oct 2015 10:49:01 +0300 Subject: Add Dispatch & Close --- servo/forms/invoices.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'servo/forms') diff --git a/servo/forms/invoices.py b/servo/forms/invoices.py index 509b291..dbff182 100644 --- a/servo/forms/invoices.py +++ b/servo/forms/invoices.py @@ -34,6 +34,12 @@ class InvoiceForm(forms.ModelForm): } localized_fields = ('total_net', 'total_tax', 'total_gross') + close = forms.BooleanField( + initial=False, + required=False, + widget=forms.HiddenInput + ) + class InvoiceSearchForm(forms.Form): state = forms.ChoiceField( -- cgit v1.2.3