Changeset 7628 for main/waeup.sirp/trunk/tools
- Timestamp:
- 10 Feb 2012, 20:45:33 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.sirp/trunk/tools/fix_import_file.py
r7610 r7628 59 59 'application_category': 'application_category', 60 60 'lga': 'lga', 61 'order_id': 'no_int', 61 62 } 62 63 … … 74 75 # course ticket 75 76 'level_id': 'level', 77 # payment ticket 78 'order_id': 'p_id', 79 'status': 'p_state', 80 'category': 'p_category', 81 'resp_pay_reference': 'r_pay_reference', 82 'resp_desc': 'r_desc', 83 'resp_approved_amount': 'r_amount_approved', 84 'item': 'p_item', 85 'amount': 'amount_auth', 86 'resp_card_num': 'r_card_num', 87 'resp_code': 'r_code', 88 'date': 'creation_date', 89 'surcharge': 'surcharge_1', 90 'session_id': 'p_session', 76 91 } 77 92 … … 216 231 value += '#' 217 232 return value 233 234 @classmethod 235 def no_int(self, value): 236 """ Add hash. 237 """ 238 # We add the hash symbol to avoid automatic number transformation 239 # in Excel and Calc for further processing 240 value += '#' 241 return value 242 218 243 219 244 @classmethod
Note: See TracChangeset for help on using the changeset viewer.