Changeset 2857 for WAeUP_SRP/fceokene
- Timestamp:
- 4 Dec 2007, 16:28:13 (17 years ago)
- Location:
- WAeUP_SRP/fceokene
- Files:
-
- 1 added
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/fceokene/profiles/default/layouts/payment.xml
r2845 r2857 21 21 <property name="hidden_readonly_layout_modes"/> 22 22 </widget> 23 <widget name="date" meta_type="DateTime Widget"> 23 <widget name="surcharge" meta_type="String Widget"> 24 <property name="title">Surcharge</property> 25 <property name="fields"> 26 <element value="surcharge"/> 27 </property> 28 <property name="label">Surcharge</property> 29 <property name="label_edit">Surcharge</property> 30 <property name="readonly_layout_modes"> 31 <element value="edit"/> 32 </property> 33 <property name="hidden_layout_modes"/> 34 <property name="hidden_readonly_layout_modes"/> 35 </widget> 36 <widget name="date" meta_type="DateTime Widget"> 24 37 <property name="title">Transaction Date</property> 25 38 <property name="fields"> -
WAeUP_SRP/fceokene/profiles/default/layouts/student_accommodation.xml
r1571 r2857 68 68 <property name="hidden_readonly_layout_modes"/> 69 69 <property name="prefix">HMU</property> 70 </widget> 71 <widget name="acco_maint_pay_id" meta_type="String Widget"> 72 <property name="title">Online Payment Id</property> 73 <property name="fields"> 74 <element value="acco_maint_pay_id"/> 75 </property> 76 <property name="label">Online Payment Id</property> 77 <property name="label_edit">Online Payment Id</property> 78 <property name="readonly_layout_modes"> 79 <element value="create"/> 80 <element value="edit"/> 81 </property> 82 <property name="hidden_layout_modes"> 83 <element value="create"/> 84 </property> 85 <property name="hidden_readonly_layout_modes"/> 70 86 </widget> 71 87 <widget name="acco_res_date" meta_type="DateTime Widget"> -
WAeUP_SRP/fceokene/profiles/default/layouts/student_accommodation_fe.xml
r2829 r2857 34 34 </property> 35 35 <property name="hidden_readonly_layout_modes"/> 36 <property name="prefix">@getMaintenancePrefix</property> 36 <property name="prefix">HOM</property> 37 </widget> 38 <widget name="acco_maint_pay_id" meta_type="String Widget"> 39 <property name="title">Online Payment Id</property> 40 <property name="fields"> 41 <element value="acco_maint_pay_id"/> 42 </property> 43 <property name="label">Online Payment Id</property> 44 <property name="label_edit">Online Payment Id</property> 45 <property name="readonly_layout_modes"> 46 <element value="create"/> 47 <element value="edit"/> 48 </property> 49 <property name="hidden_layout_modes"> 50 <element value="create"/> 51 </property> 52 <property name="hidden_readonly_layout_modes"/> 37 53 </widget> 38 54 <widget name="acco_res_date" meta_type="DateTime Widget"> … … 51 67 <property name="hidden_readonly_layout_modes"/> 52 68 </widget> 53 54 69 <widget name="bed" meta_type="Method Widget"> 55 70 <property name="title">Bed</property> … … 106 121 </row> 107 122 <row> 108 <cell name="acco_maint_ sc_pin"/>123 <cell name="acco_maint_pay_id"/> 109 124 </row> 110 125 <row> -
WAeUP_SRP/fceokene/profiles/default/schemas/payment.xml
r2852 r2857 9 9 </field> 10 10 <field name="amount" meta_type="CPS String Field"/> 11 <field name="surcharge" meta_type="CPS String Field"/> 11 12 <field name="description" meta_type="CPS String Field"/> 12 13 <field name="subject" meta_type="CPS String Field"/> -
WAeUP_SRP/fceokene/profiles/default/schemas/student_accommodation.xml
r1399 r2857 6 6 <field name="acco_maint_fee" meta_type="CPS String Field"/> 7 7 <field name="acco_maint_sc_pin" meta_type="CPS String Field"/> 8 <field name="acco_maint_pay_id" meta_type="CPS String Field"/> 8 9 <field name="acco_res_date" meta_type="CPS DateTime Field"/> 9 10 <field name="acco_res_sc_pin" meta_type="CPS String Field"/> -
WAeUP_SRP/fceokene/profiles/default/vocabularies/payment_subjects.xml
r2854 r2857 8 8 9 9 <item key="" msgid="">None</item> 10 <item key="hostel_maintenance" msgid="">Hostel Maintainance</item> 10 11 <item key="schoolfee" msgid="">School Fee</item> 11 12 <item key="transfer" msgid="">Transfer</item> -
WAeUP_SRP/fceokene/waeup_custom/getAccommodationInfo.py
r2829 r2857 56 56 students_object = context.portal_url.getPortalObject().campus.students 57 57 student = getattr(students_object, student_id) 58 info[' id'] = student_id58 info['student_id'] = student_id 59 59 info['student'] = student 60 60 … … 70 70 71 71 info['booking_allowed'] = booking_allowed 72 info['online_payment'] = True # for Okene 72 73 if not booking_allowed: 73 74 info['acco'] = None … … 79 80 80 81 bt = 're' 82 info['maintenance_paid'] = False 81 83 if acco is not None: 82 84 info['acco_doc'] = acco.getContent() 83 85 info['acco_review_state'] = wf.getInfoFor(acco,'review_state',None) 86 info['maintenance_paid'] = info['acco_review_state'] == "maintenance_fee_paid" 84 87 d = {} 85 88 if review_state == "cleared_and_validated": -
WAeUP_SRP/fceokene/waeup_custom/layout_student_acco_view_slip.pt
r2829 r2857 6 6 widgets python:context.getRenderedWidgets(layout); 7 7 fields python:('bed', 8 9 'acco_res_date', 10 'acco_maint_sc_pin', 8 'acco_res_date', 9 'acco_maint_pay_id', 11 10 'acco_maint_date', 12 11 )"
Note: See TracChangeset for help on using the changeset viewer.