Changeset 1813 for WAeUP_SRP/trunk/WAeUPTool.py
- Timestamp:
- 23 May 2007, 19:23:45 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/WAeUPTool.py
r1804 r1813 150 150 151 151 security.declarePublic('loadStudentFoto') ###( 152 def loadStudentFoto(self,student ):152 def loadStudentFoto(self,student,filename,folder): 153 153 "return a student passport picture" 154 154 app_doc = student.application.getContent() 155 clear = student.clearance156 clear_doc = clear.getContent()157 matric_no = clear_doc.matric_no.upper()158 picture1 ="%s/import/ pictures_returning/%s.jpg" % (i_home,matric_no)159 picture2 ="%s/import/ pictures_returning/%s.JPG" % (i_home,matric_no)155 #clear = student.clearance 156 #clear_doc = clear.getContent() 157 #matric_no = clear_doc.matric_no.upper() 158 picture1 ="%s/import/%s/%s.jpg" % (i_home,folder,filename) 159 picture2 ="%s/import/%s/%s.JPG" % (i_home,folder,filename) 160 160 #import pdb;pdb.set_trace() 161 161 if os.path.exists(picture1): … … 622 622 #data['response_code'] = response_code = '00' 623 623 #data['amount'] = amount = pay_transaction['Amount'] 624 624 625 625 # format of the third file sent by Kehinde 626 626 data['datetime'] = date = 0 … … 628 628 data['order_id'] = order_id = pay_transaction['merchant_reference'] 629 629 data['response_code'] = response_code = '00' 630 data['amount'] = amount = pay_transaction['Amount'] 630 data['amount'] = amount = pay_transaction['Amount'] 631 631 632 632 dup = False
Note: See TracChangeset for help on using the changeset viewer.