- Timestamp:
- 27 Nov 2007, 10:21:42 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/Widgets.py
r2785 r2789 1478 1478 def validate(self, datastructure, **kw): ###( 1479 1479 """Validate datastructure and update datamodel.""" 1480 s_logger = logging.getLogger('Widgets. ScratchcardPinWidget.validate')1480 s_logger = logging.getLogger('Widgets.PumePinWidget.validate') 1481 1481 widget_id = self.getWidgetId() 1482 1482 v = datastructure[widget_id] … … 1560 1560 d['reg_no'] = applicant.reg_no 1561 1561 d['pin'] = pin_str 1562 d['serial'] = "%c%05d" % (pin_record.prefix_batch[-1],1563 pin_record.serial)1564 1562 #d['screening_type'] = screening_type 1565 1563 #d['status'] = 'entered' … … 1579 1577 d['status'] = 'entered' 1580 1578 d['screening_type'] = screening_type_request 1579 d['serial'] = "%c%05d" % (pin_record.prefix_batch[-1], 1580 pin_record.serial) 1581 1581 self.applicants_catalog.addRecord(**d) 1582 1582 else:
Note: See TracChangeset for help on using the changeset viewer.