Changeset 3586 for WAeUP_SRP


Ignore:
Timestamp:
27 Jul 2008, 10:09:17 (16 years ago)
Author:
Henrik Bettermann
Message:

updated

Location:
WAeUP_SRP/aaua
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/aaua/profiles/default/applicants_catalog.xml

    r3443 r3586  
    5656 <column value="status"/>
    5757 <column value="aos"/>
     58 <column value="entry_session"/>
    5859 <index name="reg_no" meta_type="FieldIndex">
    5960  <indexed_attr value="reg_no"/>
     
    7475  <indexed_attr value="course_admitted"/>
    7576 </index>
     77 <index name="entry_session" meta_type="FieldIndex">
     78  <indexed_attr value="entry_session"/>
     79 </index>
    7680 <index name="student_id" meta_type="FieldIndex">
    7781  <indexed_attr value="student_id"/>
  • WAeUP_SRP/aaua/profiles/default/layouts/application_manage.xml

    r3446 r3586  
    466466    <property name="css_class_expr">string:row</property>
    467467  </widget>
    468   <widget name="pin" meta_type="Pume Pin Widget">
     468  <widget name="pin" meta_type="String Widget">
    469469    <property name="title">Access Code</property>
    470470    <property name="fields">
     
    485485    <property name="hidden_readonly_layout_modes"/>
    486486    <property name="css_class_expr">string:row</property>
    487     <property name="prefix">APP</property>
    488     <property name="reference">reg_no</property>
    489487  </widget>
    490488  <widget name="emergency_pin_change" meta_type="String Widget">
     
    964962  </widget>
    965963
     964     <widget name="entry_session" meta_type="WAeUP Session Widget">
     965      <property name="title">Entry Session</property>
     966      <property name="fields">
     967       <element value="entry_session"/>
     968      </property>
     969      <property name="label">Entry Session</property>
     970      <property name="label_edit">Entry Session</property>
     971      <property name="is_required">False</property>
     972      <property name="readonly_layout_modes"/>
     973      <property name="hidden_layout_modes"/>
     974      <property name="hidden_readonly_layout_modes"/>
     975      <property name="vocabulary">unset</property>
     976      <property name="sorted">True</property>
     977     </widget>
     978
    966979 <table>
    967980  <row>
     
    11161129  </row>
    11171130  <row>
     1131   <cell name="entry_session" ncols="2"/>
     1132  </row>
     1133  <row>
    11181134   <cell name="notice" ncols="2"/>
    11191135  </row>
  • WAeUP_SRP/aaua/profiles/default/layouts/application_pde.xml

    r3446 r3586  
    495495    <property name="hidden_readonly_layout_modes"/>
    496496    <property name="css_class_expr">string:row</property>
    497     <property name="prefix">APP</property>
     497    <property name="prefix">PDE</property>
    498498    <property name="reference">reg_no</property>
    499499  </widget>
  • WAeUP_SRP/aaua/profiles/default/layouts/application_pume.xml

    r3446 r3586  
    8787    <property name="readonly_layout_modes"/>
    8888    <property name="hidden_layout_modes">
    89       <element value="edit"/>
     89      <element value="create"/>
    9090    </property>
    9191    <property name="view_format">%d/%m/%Y</property>
     
    414414    <property name="hidden_readonly_layout_modes"/>
    415415    <property name="css_class_expr">string:row</property>
    416     <property name="prefix">APP</property>
     416    <property name="prefix">PUME</property>
    417417    <property name="reference">reg_no</property>
    418418  </widget>
  • WAeUP_SRP/aaua/profiles/default/layouts/import_application.xml

    r3491 r3586  
    383383    <property name="css_class_expr">string:row</property>
    384384  </widget>
    385  <widget name="lga" meta_type="Select Widget">
    386   <property name="title">State/LGA</property>
     385 <widget name="lga" meta_type="WAeUP LGA Widget">
     386  <property name="title">LGA</property>
    387387  <property name="fields">
    388388   <element value="lga"/>
    389389  </property>
    390   <property name="label">State/LGA</property>
    391   <property name="label_edit">State/LGA (confirmed by applicant)</property>
    392   <property name="readonly_layout_modes">
    393   </property>
     390  <property name="label">LGA</property>
     391  <property name="label_edit">LGA</property>
     392  <property name="readonly_layout_modes"/>
    394393  <property name="hidden_layout_modes">
    395394  </property>
    396395  <property name="hidden_readonly_layout_modes"/>
    397   <property name="vocabulary">local_gov_areas</property>
    398   <property name="sorted">True</property>
    399396 </widget>
    400397  <widget name="middlenames" meta_type="String Widget">
     
    447444    </property>
    448445    <property name="hidden_readonly_layout_modes"/>
    449     <property name="view_format">%A, %B %d, %Y</property>
    450     <property name="time_setting">False</property>
    451446    <property name="css_class_expr">string:row</property>
    452447  </widget>
  • WAeUP_SRP/aaua/profiles/default/schemas/import_application.xml

    r3443 r3586  
    5757 <field name="hq_disc" meta_type="CPS String Field"/>
    5858 <field name="serial" meta_type="CPS String Field"/>
     59 <field name="entry_session" meta_type="CPS String Field"/>
    5960</object>
  • WAeUP_SRP/aaua/waeup_custom/getPaymentsFolderInfo.py

    r3312 r3586  
    7171elif review_state == 'returning' and info['next_session'] != session:
    7272    info['payment_method'] = "online_payment"
    73 info['prod_id'] = '83'
     73info['prod_id'] = '105'
    7474
    7575# end customization
  • WAeUP_SRP/aaua/waeup_custom/pay_interswitch.py

    r2913 r3586  
    4848    return context.interswitch_form(info=info)
    4949
    50 info['site_id'] = '83'
     50info['site_id'] = '105'
    5151info['currency_id'] = '566'
     52pay_item_id = "10500"
    5253
    53 pay_item_id = "8302"
    5454#info['type_code'] = sbrain.course  #type_code is redundant and will be removed soon
    5555info['bank'] = ''
     
    6767now = DateTime.DateTime()
    6868info['date'] = now
    69 info['pay_ship_to'] = "Federal College of Education Okene"
     69info['pay_ship_to'] = "Adekunle Ajasin University"
    7070timestamp = "%d" % int(now.timeTime()*1000)
    7171info['order_id'] = "%s%s" % (student_id[1:],timestamp)
     
    8282
    8383if True:
    84     info['action'] = "https://webpay.interswitchng.com/paydirect/webpay/pay.aspx"
     84    info['action'] = "https://webpay.interswitchng.com/test_paydirect/webpay/pay.aspx"
    8585else:
    8686    #pass
     
    128128    args[arg] = info[field]
    129129
     130bt_amount = 4000
     131
     132aaua_amount = amount - bt_amount
     133xmldict = {}
     134xmldict['detail_ref'] = args['txn_ref']
     135xmldict['department'] = student_record.department
     136xmldict['faculty'] = student_record.faculty
     137xmldict['aaua_amount'] = "%d" % int(100*aaua_amount)
     138xmldict['bt_amount'] = "%d" % int(100*bt_amount)
     139
     140
     141xmltext = """
     142<payment_item_detail>
     143<item_details detail_ref="%(detail_ref)s" college="AAUA" department="%(department)s" faculty="%(faculty)s">
     144<item_detail item_id="1" item_name="AAUA" item_amt="%(aaua_amount)s" bank_id="00" acct_num="0000000000000000" />
     145<item_detail item_id="2" item_name="BT" item_amt="%(bt_amount)s" bank_id="00" acct_num="0000000000000000" />
     146</item_details>
     147</payment_item_detail>
     148""" % xmldict
     149
     150
    130151args['Amount'] = "%d" % (total_amount)
    131 args['site_name'] = "fceokene.waeup.org"
     152args['site_name'] = "aaua.waeup.org"
    132153args['cust_name_desc'] = "Student Name"
    133154args['pay_item_id'] = pay_item_id
    134 args['pay_item_name'] = "FCEOKENE Tuition Payments"
    135 args['payment_params'] = 'switch_college_split'
    136 args['xml_data'] = ''
     155args['pay_item_name'] = "AAUA Tuition Payments"
     156args['payment_params'] = 'college_split'
     157#args['xml_data'] = ''
     158args['xml_data'] = xmltext
    137159info['args'] = args
    138160return context.goto_interswitch_form(info=info)
     161
Note: See TracChangeset for help on using the changeset viewer.