aboutsummaryrefslogtreecommitdiffstats
path: root/servo/forms
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2015-10-08 10:49:01 +0300
committerFilipp Lepalaan <filipp@mac.com>2015-10-08 10:49:01 +0300
commitba1315d8a611f1b891cfd6610fbd053077357cb7 (patch)
tree23988641efd2fefaf9af4cbe3b2f26a143bc6558 /servo/forms
parent2a7251afa0438b1472c66932a4c22d378ae15c28 (diff)
downloadServo-ba1315d8a611f1b891cfd6610fbd053077357cb7.tar.gz
Servo-ba1315d8a611f1b891cfd6610fbd053077357cb7.tar.bz2
Servo-ba1315d8a611f1b891cfd6610fbd053077357cb7.zip
Add Dispatch & Close
Diffstat (limited to 'servo/forms')
-rw-r--r--servo/forms/invoices.py6
1 files changed, 6 insertions, 0 deletions
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(