Changeset 16238
- Timestamp:
- 16 Sep 2020, 10:26:39 (4 years ago)
- Location:
- main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students
- Files:
-
- 1 added
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/browser.py
r16237 r16238 228 228 """ 229 229 230 omit_fields = ('date_of_birth', 'current_level', 'current_mode', 231 'entry_session') 230 omit_fields = ('date_of_birth', 231 #'current_level', 232 'current_mode', 233 #'entry_session' 234 ) 232 235 233 236 @property … … 247 250 248 251 @property 249 def pre_text (self):252 def pre_text_ug(self): 250 253 return ( 251 254 'Following your performance in the screening exercise ' … … 255 258 256 259 @property 257 def post_text(self): 260 def pre_text_pg(self): 261 return ( 262 'I am pleased to inform you that your application for admission' 263 ' into the Igbinedion University, Okada was successful. You have' 264 ' been admitted as follows:') 265 266 @property 267 def post_text_ug(self): 258 268 return """ 259 269 Please note that at the point of registration for your programme of study (course), you will be required to present the following documents: Current UTME result slip, WAEC/NECO (0' Level) result, Birth certificate or sworn affidavit of age, and Health certificate from a recognized Medical Centre. … … 300 310 """ 301 311 312 @property 313 def post_text_pg(self): 314 return """ 315 1. Details of your programme will be made available to you by the Head of your Department on your arrival at the Igbinedion University. 316 317 2. This offer is conditional upon the confirmation of your qualifications as listed by you in your application form. You will be required to produce the ORIGINAL COPIES of all your certificates for verification during registration. If at any time after admission, it is discovered that you do not possess any of the qualifications upon which this offer of admission was made, you will be required to withdraw from the University. 318 319 3. If you accept this offer of admission upon the conditions above, you should please: 320 321 (a) Complete the enclosed Acceptance Form of Provisional Offer of Admission in duplicate and send by registered mail or by hand to the 322 323 Secretary 324 School of Postgraduate Studies and Research 325 Igbinedion University, 326 P.M.B. 0006, 327 Benin City, Edo State, 328 Nigeria 329 330 (b) Forward the following along with the Acceptance Form of Provisional Offer of Admission. 331 332 (i) A non-refundable deposit of N100,000.00 (One Hundred Thousand Naira Only) which is part of the School fees: Payable Online. 333 334 (ii) Four recent passport-size photograph of yourself with your full-names (surname first in BLOCK LETTERS) written on the reverse side of the photograph and pinned to the Acceptance Form. 335 336 4. The following will be required for Registration: 337 338 (a) A medical examination to be conducted by an approved medical practitioner. On your arrival at the Igbinedion University, you should submit the enclosed Igbinedion University Medical Examination Form duly completed and signed by an approved medical practitioner together with your chest X-ray film to Director of Health Service at the Igbinedion University, Okada. 339 340 (b) The original copies of all credentials listed in your application form (including NYSC discharge/exemption certificate) should be brought for sighting. 341 342 5. You are required to pay the necessary fees and register for your degree programme not later than three weeks from the beginning of the Academic Session. Late registration may be allowed during an additional period of five weeks on payment of a late registration fees. Please note that you will be allowed to register after two months have elapsed from the beginning of the sessions. 343 344 6. Please find attached: 345 346 (a) A copy of School fees Regime 347 (b) A copy of Acceptance Forms 348 349 7. Note: 350 351 (a) All Tuition fees are to be paid online 352 (b) Post-graduate dues and other charges are to be paid into ABC Microfinance Bank Okada, Account No: 30125 353 354 8. CONGRATULATIONS!!! 355 356 Yours faithfully, 357 358 Mr. Olaoke, Olasoji Oluwole 359 Secretary, School of Postgraduate Studies & Research 360 """ 361 302 362 def render(self): 303 363 students_utils = getUtility(IStudentsUtils) … … 305 365 os.path.dirname(__file__), 'static', 'watermark.pdf') 306 366 watermark = open(watermark_path, 'rb') 367 if self.context.is_postgrad: 368 file_path = os.path.join( 369 os.path.dirname(__file__), 'static', 'admission_letter_pg.pdf') 370 file = open(file_path, 'rb') 371 mergefiles = [file,] 372 return students_utils.renderPDFAdmissionLetter(self, 373 self.context.student, omit_fields=self.omit_fields, 374 pre_text=self.pre_text_pg, post_text=self.post_text_pg, 375 mergefiles=mergefiles, 376 watermark=watermark) 307 377 file_path = os.path.join( 308 os.path.dirname(__file__), 'static', 'admission_letter .pdf')378 os.path.dirname(__file__), 'static', 'admission_letter_ug.pdf') 309 379 file = open(file_path, 'rb') 310 380 mergefiles = [file,] 311 381 return students_utils.renderPDFAdmissionLetter(self, 312 382 self.context.student, omit_fields=self.omit_fields, 313 pre_text=self.pre_text , post_text=self.post_text,383 pre_text=self.pre_text_ug, post_text=self.post_text_ug, 314 384 mergefiles=mergefiles, 315 385 watermark=watermark) -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/tests/test_browser.py
r16127 r16238 140 140 141 141 def test_student_admission_letter(self): 142 self.certificate.study_mode = 'pg_ft' 142 143 # Student cant login if their password is not set 143 144 IWorkflowInfo(self.student).fireTransition('admit')
Note: See TracChangeset for help on using the changeset viewer.