Ignore:
Timestamp:
25 Jun 2015, 12:41:57 (10 years ago)
Author:
Henrik Bettermann
Message:

More docs.

Location:
main/waeup.kofa/trunk/src/waeup/kofa
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py

    r13099 r13100  
    995995    def display_actions(self):
    996996        state = IWorkflowState(self.context).getState()
    997         actions = [[],[]]
     997        # If the form is unlocked, applicants are allowed to save the form
     998        # and remove unused tickets.
     999        actions = [[_('Save')], [_('Remove selected tickets')]]
     1000        # Only in state started they can also add tickets.
    9981001        if state == STARTED:
    9991002            actions = [[_('Save')],
    10001003                [_('Add online payment ticket'),_('Remove selected tickets')]]
     1004        # In state paid, they can submit the data and further add tickets
     1005        # if the application is special.
    10011006        elif self.context.special and state == PAID:
    10021007            actions = [[_('Save'), _('Finally Submit')],
     
    10081013
    10091014    def unremovable(self, ticket):
    1010         state = IWorkflowState(self.context).getState()
    1011         return ticket.r_code or state in (INITIALIZED, SUBMITTED)
     1015        return ticket.r_code
    10121016
    10131017    def emit_lock_message(self):
  • main/waeup.kofa/trunk/src/waeup/kofa/students/tests/sample_student_data.csv

    r12811 r13100  
    11student_id,firstname,lastname,reg_number,date_of_birth,matric_number,email,phone,sex,state
    2 X666666,Aaren,Pieri,1,1990-01-02,100000,aa@aa.ng,1234,M,courses validated
     2X666666,Aaren,Pieri,1,1990-01-02,100000,,1234,M,courses validated
    33Y777777,Claus,Finau,2,1990-01-03,100001,aa@aa.ng,1234,m,courses validated
    44,Susann,Berson,3,1990-01-04,100002,aa@aa.ng,1234,F,courses validated
Note: See TracChangeset for help on using the changeset viewer.