- Timestamp:
- 23 Aug 2017, 16:35:14 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/applicants/batching.py
r11543 r14818 18 18 """Batch processing for applicants. 19 19 """ 20 from waeup.kofa.utils.batching import BatchProcessor21 from waeup.kofa.applicants.batching import Applicant Processor20 from kofacustom.nigeria.applicants.batching import NigeriaApplicantProcessor 21 from waeup.kofa.applicants.batching import ApplicantOnlinePaymentProcessor 22 22 from kofacustom.skeleton.applicants.interfaces import ( 23 ICustomApplicant, ICustomApplicantUpdateByRegNo) 23 ICustomApplicant, 24 ICustomApplicantUpdateByRegNo, 25 ICustomApplicantOnlinePayment 26 ) 24 27 25 class CustomApplicantProcessor(ApplicantProcessor): 26 """A batch processor for IApplicant objects. 28 class CustomApplicantProcessor(NigeriaApplicantProcessor): 27 29 28 In create mode container_code is required. If application_number is given29 an applicant with this number is created in the designated container.30 If application_number is not given a random application_number is assigned.31 applicant_id is being determined by the system and can't be imported.32 33 In update or remove mode container_code and application_number columns34 must not exist. The applicant object is solely searched by its applicant_id35 or reg_number.36 """37 30 iface = ICustomApplicant 38 31 iface_byregnumber = ICustomApplicantUpdateByRegNo 32 33 class CustomApplicantOnlinePaymentProcessor(ApplicantOnlinePaymentProcessor): 34 """A batch processor for ICustomStudentOnlinePayment objects. 35 """ 36 iface = ICustomApplicantOnlinePayment
Note: See TracChangeset for help on using the changeset viewer.