Changeset 1771


Ignore:
Timestamp:
11 May 2007, 11:37:16 (18 years ago)
Author:
Henrik Bettermann
Message:

import LGA as string
and other fixes

Location:
WAeUP_SRP/trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/default/layouts/import_student.xml

    r1754 r1771  
    5656  <property name="vocabulary">states</property>
    5757 </widget>
    58  <widget name="lga" meta_type="Select Widget">
     58 <widget name="lga" meta_type="String Widget">
    5959  <property name="title">LGA</property>
    6060  <property name="fields">
     
    6666  <property name="hidden_layout_modes"/>
    6767  <property name="hidden_readonly_layout_modes"/>
    68   <property name="vocabulary">local_gov_areas</property>
    6968 </widget>
    7069 <widget name="firstname" meta_type="String Widget">
     
    271270  <row>
    272271   <cell name="current_mode"/>
    273   </row> 
     272  </row>
    274273  <row>
    275274   <cell name="entry_session"/>
     
    296295   <cell name="study_course"/>
    297296  </row>
    298  
     297
    299298 </table>
    300299</object>
  • WAeUP_SRP/trunk/skins/waeup_default/getNextSessionId.py

    r1764 r1771  
    1313"""
    1414
    15 if session != context.getSessionId()[2:]:
     15if session != context.getSessionId()[-2:]:
    1616    ns = int(session) + 1
    1717else:
  • WAeUP_SRP/trunk/skins/waeup_default/import_form.pt

    r1759 r1771  
    33           data_storage options/ds;
    44           formaction options/formaction|string:import;
    5            button options/button|string:import;
     5           button options/button|string:Import;
    66           creation creation|nothing;"
    77           >
     
    1818          <br />
    1919          <input type="submit" class="standalone"
    20                  name="import" value="Import"
     20                 name="import" value="import"
    2121                 tal:attributes="value button"
    2222                 tal:condition="not:creation" />
  • WAeUP_SRP/trunk/skins/waeup_epayment/pay_by_sc.py

    r1765 r1771  
    9292    payment.getContent().edit(mapping=info)
    9393    wftool.doActionFor(payment,'close')
    94     if next_session == context.getSessionId()[2:]:
     94    if next_session == context.getSessionId()[-2:]:
    9595        wftool.doActionFor(student,'pay_school_fee')
    9696    else:
  • WAeUP_SRP/trunk/skins/waeup_utilities/ti_188_resolve.py

    r1687 r1771  
    4949res = scat()
    5050for sbrain in res:
     51    if not sbrain.matric_no:
     52        continue
    5153    if str(sbrain.level) == '100':
    5254        ec = "new"
Note: See TracChangeset for help on using the changeset viewer.