Changeset 9506 for main/waeup.kofa/trunk


Ignore:
Timestamp:
2 Nov 2012, 09:38:11 (12 years ago)
Author:
Henrik Bettermann
Message:

Extend webservice adapter to payments.

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

Legend:

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

    r8708 r9506  
    8585    @property
    8686    def display_fullname(self):
    87         "Name of  payee."
     87        "Name of  payee"
    8888        return self.context.__parent__.display_fullname
    8989
     
    9292        "Id of payee"
    9393        return self.context.__parent__.applicant_id
     94
     95    @property
     96    def reg_or_matric_number(self):
     97        "Matric number or reg number of payee"
     98        return self.context.__parent__.reg_number
    9499
    95100    @property
  • main/waeup.kofa/trunk/src/waeup/kofa/browser/browser.txt

    r9494 r9506  
    217217  >>> print browser.contents
    218218  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"...
    219   ...<td>Applications Officer</td>
     219  ...<td nowrap>Applications Officer <br /></td>
    220220  ...
    221221
  • main/waeup.kofa/trunk/src/waeup/kofa/payments/interfaces.py

    r9469 r9506  
    132132
    133133    """
    134 
    135     def display_fullname():
    136         "Name of  payee."
    137 
    138     def id():
    139         "Id of payee"
    140 
    141     def faculty():
    142         "Faculty of payee"
    143 
    144     def department():
    145         "Department of payee"
  • main/waeup.kofa/trunk/src/waeup/kofa/students/payments.py

    r9438 r9506  
    149149    @property
    150150    def display_fullname(self):
    151         "Name of  payee."
     151        "Name of  payee"
    152152        return self.context.student.display_fullname
    153153
     
    156156        "Id of payee"
    157157        return self.context.student.student_id
     158
     159    @property
     160    def reg_or_matric_number(self):
     161        "Matric number or reg number of payee"
     162        return self.context.student.matric_number
    158163
    159164    @property
Note: See TracChangeset for help on using the changeset viewer.