Changeset 11844
- Timestamp:
- 15 Oct 2014, 07:06:39 (10 years ago)
- Location:
- main/kofacustom.pcn/trunk/src/kofacustom/pcn
- Files:
-
- 2 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.pcn/trunk/src/kofacustom/pcn/applicants/browser.py
r11843 r11844 19 19 """ 20 20 import grok 21 from waeup.kofa.widgets.datewidget import ( 22 FriendlyDateDisplayWidget, FriendlyDateDisplayWidget,) 21 23 from waeup.kofa.applicants.browser import ( 22 24 ApplicantRegistrationPage, … … 24 26 ApplicantDisplayFormPage, 25 27 ApplicantManageFormPage, 26 ApplicantEditFormPage) 28 ApplicantEditFormPage, 29 ) 30 from waeup.kofa.applicants.pdf import PDFApplicationSlip 27 31 from waeup.kofa.applicants.viewlets import ( 28 32 StudentCreateActionButton, … … 85 89 form_fields['reg_number'].for_display = True 86 90 return form_fields 91 92 class CustomPDFApplicationSlip(PDFApplicationSlip): 93 """Bypass NigeriaPDFApplicationSlip 94 """ 95 96 form_fields = grok.AutoFields(ICustomApplicant).omit( 97 'locked', 'course_admitted', 'suspended', 'sex', 'course2' 98 ) 99 form_fields['date_of_birth'].custom_widget = FriendlyDateDisplayWidget('le') -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/applicants/utils.py
r11841 r11844 34 34 'sop': ['Scientific Office Permit', 'XXX'], 35 35 } 36 37 SEPARATORS_DICT = { 38 } -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/browser/pdf.py
r10765 r11844 27 27 """ 28 28 29 #header_logo_path = os.path.join(30 #os.path.dirname(__file__), 'static', 'pdf_logo.jpg')31 #watermark_path = os.path.join(32 #os.path.dirname(__file__), 'static', 'pdf_watermark.jpg')29 header_logo_path = os.path.join( 30 os.path.dirname(__file__), 'static', 'pdf_logo.jpg') 31 watermark_path = os.path.join( 32 os.path.dirname(__file__), 'static', 'pdf_watermark.jpg') 33 33 34 watermark_pos = [ -25, 100]35 logo_pos = [507, 7 20, 40]34 watermark_pos = [95, 160] 35 logo_pos = [507, 730, 40] -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/locales/en/LC_MESSAGES/waeup.kofa.po
r11843 r11844 283 283 msgid "Initial School Fee" 284 284 msgstr "Registration Fee" 285 286 msgid "Desired Study Courses" 287 msgstr "Desired License" -
main/kofacustom.pcn/trunk/src/kofacustom/pcn/utils/utils.py
r11839 r11844 43 43 44 44 PAYMENT_CATEGORIES = { 45 ' registration': 'Registration Fee',45 'application': 'Registration Fee', 46 46 } 47 47
Note: See TracChangeset for help on using the changeset viewer.