summaryrefslogtreecommitdiff
path: root/ishtar/ishtar_base/forms_operations.py
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@peacefrogs.net>2011-09-24 23:37:56 +0200
committerÉtienne Loks <etienne.loks@peacefrogs.net>2011-09-24 23:37:56 +0200
commitf2f87aa8a7ccf2410d9ef567ef046b9e07355aba (patch)
treed4ede86c7e90716b2413edc33f9b0ba04ebf1043 /ishtar/ishtar_base/forms_operations.py
parent6a21a75c0d6695f030f8edebba4f78730467dea4 (diff)
downloadIshtar-f2f87aa8a7ccf2410d9ef567ef046b9e07355aba.tar.bz2
Ishtar-f2f87aa8a7ccf2410d9ef567ef046b9e07355aba.zip
Manage man-days in operation forms (refs #632)
Diffstat (limited to 'ishtar/ishtar_base/forms_operations.py')
-rw-r--r--ishtar/ishtar_base/forms_operations.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/ishtar/ishtar_base/forms_operations.py b/ishtar/ishtar_base/forms_operations.py
index 17df6ac4a..f5bad9b58 100644
--- a/ishtar/ishtar_base/forms_operations.py
+++ b/ishtar/ishtar_base/forms_operations.py
@@ -305,6 +305,12 @@ class OperationFormPreventive(forms.Form):
cost = forms.IntegerField(label=_(u"Cost (€)"), required=False)
operator_reference = forms.CharField(label=_(u"Operator reference"),
required=False, max_length=20)
+ scheduled_man_days = forms.IntegerField(label=_(u"Scheduled man-days"),
+ required=False)
+ optional_man_days = forms.IntegerField(label=_(u"Optional man-days"),
+ required=False)
+ effective_man_days = forms.IntegerField(label=_(u"Effective man-days"),
+ required=False)
if settings.COUNTRY == 'fr':
fnap_financing = forms.FloatField(required=False,
label=u"Pourcentage de financement FNAP",