Changeset 16197 for main/kofacustom.nigeria/trunk
- Timestamp:
- 11 Aug 2020, 12:42:09 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/export.py
r16195 r16197 84 84 85 85 def mangle_value(self, value, name, context=None): 86 if name == 'lg_state' :86 if name == 'lg_state' and context.lga: 87 87 value = context.lga.split('_')[0] 88 if name == 'lg_area' :88 if name == 'lg_area' and context.lga: 89 89 value = '-'.join(context.lga.split('_')[1:]) 90 90 return super(
Note: See TracChangeset for help on using the changeset viewer.