- Timestamp:
- 14 Feb 2015, 08:55:35 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/ikobacustom.pcn/trunk/src/ikobacustom/pcn/customers/interfaces.py
r12612 r12615 1014 1014 1015 1015 """ 1016 1017 class IRPTContract(IContract): 1018 """A Registration as a Pharmacy Technician contract. 1019 1020 """ 1021 1022 state_of_origin = schema.Choice( 1023 vocabulary = nats_vocab, 1024 title = _(u'State of Origin'), 1025 required = False, 1026 ) 1027 1028 nationality = schema.Choice( 1029 vocabulary = nats_vocab, 1030 title = _(u'Nationality'), 1031 required = False, 1032 ) 1033 1034 nationality_aquired = schema.Choice( 1035 values=[_(u'birth'), _(u'naturalization')], 1036 title = _(u'Nationality acquired by'), 1037 required = False, 1038 ) 1039 1040 lga = schema.Choice( 1041 source = LGASource(), 1042 title = _(u'State / LGA'), 1043 required = False, 1044 ) 1045 1046 office_address = schema.Text( 1047 title = _(u'Offices or Business Address'), 1048 required = False, 1049 ) 1050 1051 home_address = schema.Text( 1052 title = _(u'Permanent Home Address'), 1053 required = False, 1054 ) 1055 1056 res_address = schema.Text( 1057 title = _(u'Residential Address'), 1058 required = False, 1059 ) 1060 1061 schools_attended = schema.Text( 1062 title = _(u'Schools Attended'), 1063 description = _('Enter:<br />' 1064 '(1) name of primary school, period of attendance<br />' 1065 '(2) name of secondary school, period of attendance<br />' 1066 '(3) name of post-secondary school, period of attendance'), 1067 required = False, 1068 ) 1069 1070 subjects = schema.List( 1071 title = _(u'Subjects'), 1072 value_type = ResultEntryField(), 1073 required = False, 1074 readonly = False, 1075 default = [], 1076 ) 1077 1078 referee1_name = schema.TextLine( 1079 title = _(u'First Referee Name'), 1080 required = False, 1081 readonly = False, 1082 ) 1083 1084 referee1_address = schema.Text( 1085 title = _(u'First Referee Address'), 1086 required = False, 1087 readonly = False, 1088 ) 1089 1090 referee2_name = schema.TextLine( 1091 title = _(u'Second Referee Name'), 1092 required = False, 1093 readonly = False, 1094 ) 1095 1096 referee2_address = schema.Text( 1097 title = _(u'Second Referee Address'), 1098 required = False, 1099 readonly = False, 1100 ) 1101 1102 1103 class IRPTContractOfficialUse(IIkobaObject): 1104 """Interface for editing RPT official use data. 1105 1106 """ 1107 1108 comment = schema.Text( 1109 title= _('Reason for rejection'), 1110 required = False, 1111 ) 1112 1113 1114 class IRPTContractProcess(IRPTContract, IRPTContractOfficialUse): 1115 """Interface for processing RPT data. 1116 """ 1117 1118 product_options = schema.List( 1119 title = _(u'Options/Fees'), 1120 value_type = ProductOptionField(), 1121 required = False, 1122 readonly = False, 1123 default = [], 1124 ) 1125 1126 class IRPTContractEdit(IRPTContract): 1127 """Interface for editing RPT data by customers. 1128 1129 """
Note: See TracChangeset for help on using the changeset viewer.