[Mpuls-commits] r475 - in wasko/trunk: . waskaweb/controllers

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Apr 6 09:01:06 CEST 2009


Author: torsten
Date: 2009-04-06 09:01:05 +0200 (Mon, 06 Apr 2009)
New Revision: 475

Modified:
   wasko/trunk/ChangeLog.txt
   wasko/trunk/waskaweb/controllers/case.py
Log:
Fix for issue156


Modified: wasko/trunk/ChangeLog.txt
===================================================================
--- wasko/trunk/ChangeLog.txt	2009-04-06 06:38:56 UTC (rev 474)
+++ wasko/trunk/ChangeLog.txt	2009-04-06 07:01:05 UTC (rev 475)
@@ -5,6 +5,11 @@
 	* waskaweb/templates/caselifetime/overview.mako: Added links next to
 	formularelements linking to the right formpage.
 
+	Fix for issue156
+
+	* waskaweb/controllers/case.py: Append "_NA/_WA" on initial case
+	creation if it is a "Neuaufnahme/Wiederaufnahme".
+
 2009-04-02	Sascha L. Teichmann <teichmann at intevation.de>
 
 	Fix for issue128

Modified: wasko/trunk/waskaweb/controllers/case.py
===================================================================
--- wasko/trunk/waskaweb/controllers/case.py	2009-04-06 06:38:56 UTC (rev 474)
+++ wasko/trunk/waskaweb/controllers/case.py	2009-04-06 07:01:05 UTC (rev 475)
@@ -393,6 +393,7 @@
             form_result['cm_neuauf_genehm'] = '1'
             form_result['cm2c']             = '1'
             form_result['cm_dok_end_art']   = '2'
+            form_result['fn']               = '_NA'
 
             try:
                 simulation = g.formedTree.dryConvertAgainstDefaults(form_result)
@@ -455,6 +456,7 @@
 
             form_result['cm_wiederauf_genehm_1'] = '1'
             form_result['cm2c']                  = '1'
+            form_result['fn']                    = '_WA'
             form_result['cm_dok_end_art']        = '1'
             form_result['datum_cm_start']        = form_result['cm_wiederauf_genehm_datum_1'] 
             try:



More information about the Mpuls-commits mailing list