Changeset 3998 for WAeUP_SRP/trunk/skins/cps_custom
- Timestamp:
- 5 Mar 2009, 11:39:58 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/cps_custom/logged_in.py
r3972 r3998 177 177 p = res[0].pin 178 178 if len(p) > 10: 179 pin = "%s-%s-%s" % (p[:3],p[3:4],p[4:]) 179 if p.startswith('IPTP'): 180 pin = "%s-%s-%s" % (p[:4],p[4:5],p[5:]) 181 else: 182 pin = "%s-%s-%s" % (p[:3],p[3:4],p[4:]) 180 183 else: 181 184 pin = p … … 188 191 189 192 elif s_review_state in ("admitted") and a_review_state == 'opened' and\ 190 not app_doc.app_ac_pin:193 (not app_doc.app_ac_pin or app_doc.app_ac_pin.startswith('IPT-P')): 191 194 jamb_reg_no = app_doc.jamb_reg_no 192 195 for reg_no in (jamb_reg_no,jamb_reg_no.lower(),jamb_reg_no.upper()): … … 197 200 p = res[0].pin 198 201 if len(p) > 10: 199 pin = "%s-%s-%s" % (p[:3],p[3:4],p[4:]) 202 if p.startswith('IPTP'): 203 pin = "%s-%s-%s" % (p[:4],p[4:5],p[5:]) 204 else: 205 pin = "%s-%s-%s" % (p[:3],p[3:4],p[4:]) 200 206 else: 201 207 pin = p
Note: See TracChangeset for help on using the changeset viewer.