[Mpuls-commits] r1701 - wasko/branches/2.0/jmdweb/model
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Tue Feb 23 15:54:58 CET 2010
Author: torsten
Date: 2010-02-23 15:54:58 +0100 (Tue, 23 Feb 2010)
New Revision: 1701
Modified:
wasko/branches/2.0/jmdweb/model/case.py
Log:
* jmdweb/model/case.py: Fixed initCase method to work with jmd cases.
Modified: wasko/branches/2.0/jmdweb/model/case.py
===================================================================
--- wasko/branches/2.0/jmdweb/model/case.py 2010-02-23 14:54:10 UTC (rev 1700)
+++ wasko/branches/2.0/jmdweb/model/case.py 2010-02-23 14:54:58 UTC (rev 1701)
@@ -97,10 +97,8 @@
INIT_CASE_SQL = """
UPDATE master_tbl_view
SET
- ks = %(ka_name)s,
- fkz = %(fkz)s,
- mitarb_zv = %(vorname)s,
- mitarb_zn = %(nachname)s
+ mitarbarbeiter_vorname = %(vorname)s,
+ mitarbarbeiter_name = %(nachname)s
WHERE id = %(id)s"""
LOAD_STANDIN_SQL = """
@@ -310,10 +308,8 @@
user = session['USER_AUTHORIZED']
agency = Agency()
fields = {
- 'ka_name': agency.getName(),
'vorname': user.first_name,
'nachname': user.last_name,
- 'fkz': agency.getFKZ(),
'id': int(id)
}
conn = db.getConnection()
More information about the Mpuls-commits
mailing list