Changeset 16769 for main/kofacustom.edocons/trunk/src/kofacustom/edocons
- Timestamp:
- 2 Feb 2022, 07:21:42 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.edocons/trunk/src/kofacustom/edocons/applicants/browser.py
r16664 r16769 83 83 'screening_venue', 84 84 'screening_date', 85 'cbt_score', 86 'cbt_venue', 87 'cbt_date', 85 88 'jamb_age', 86 89 'jamb_subjects', … … 113 116 if not getattr(self.context, 'screening_date') or self._not_paid(): 114 117 form_fields = form_fields.omit('screening_date') 118 if not getattr(self.context, 'cbt_score'): 119 form_fields = form_fields.omit('cbt_score') 120 if not getattr(self.context, 'cbt_venue') or self._not_paid(): 121 form_fields = form_fields.omit('cbt_venue') 122 if not getattr(self.context, 'cbt_date') or self._not_paid(): 123 form_fields = form_fields.omit('cbt_date') 115 124 return form_fields 116 125 … … 135 144 if not getattr(self.context, 'screening_date'): 136 145 form_fields = form_fields.omit('screening_date') 146 if not getattr(self.context, 'cbt_score'): 147 form_fields = form_fields.omit('cbt_score') 148 if not getattr(self.context, 'cbt_venue'): 149 form_fields = form_fields.omit('cbt_venue') 150 if not getattr(self.context, 'cbt_date'): 151 form_fields = form_fields.omit('cbt_date') 137 152 return form_fields 138 153
Note: See TracChangeset for help on using the changeset viewer.