Changeset 7880 for main/waeup.custom/trunk/src/waeup/custom
- Timestamp:
- 14 Mar 2012, 15:39:49 (13 years ago)
- Location:
- main/waeup.custom/trunk/src/waeup/custom
- Files:
-
- 1 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.custom/trunk/src/waeup/custom/interfaces.py
r7822 r7880 29 29 """ 30 30 31 # Base fees, do not remove. 32 31 33 school_fee_base = schema.Int( 32 34 title = _(u'School Fee (ignored)'), 33 35 default = 0, 36 required = False, 34 37 ) 35 38 36 39 surcharge_1 = schema.Int( 37 title = _(u'Surcharge BT'),40 title = _(u'Surcharge Portal Provider'), 38 41 default = 0, 42 required = False, 39 43 ) 40 44 … … 42 46 title = _(u'Surcharge Interswitch'), 43 47 default = 0, 48 required = False, 44 49 ) 45 50 … … 47 52 title = _(u'Surcharge 3'), 48 53 default = 0, 54 required = False, 49 55 ) 50 56 51 clearance = schema.Int(57 clearance_fee = schema.Int( 52 58 title = _(u'Clearance Fee'), 53 59 default = 0, 60 required = False, 54 61 ) 55 62 … … 57 64 title = _(u'Booking Fee'), 58 65 default = 0, 66 required = False, 59 67 ) 68 69 acceptance_fee = schema.Int( 70 title = _(u'Acceptance Fee'), 71 default = 0, 72 required = False, 73 ) 74 75 # Additional fees in waeup.custom 60 76 61 77 maint_fee = schema.Int( 62 78 title = _(u'Maintenance Fee'), 63 79 default = 0, 80 required = False, 64 81 ) 65 82 … … 67 84 title = _(u'Gown Fee'), 68 85 default = 0, 86 required = False, 69 87 ) 70 88 … … 72 90 title = _(u'Transfer Fee'), 73 91 default = 0, 92 required = False, 74 93 ) 75 94 -
main/waeup.custom/trunk/src/waeup/custom/locales/de/LC_MESSAGES/waeup.custom.po
r7822 r7880 15 15 msgstr "" 16 16 "Project-Id-Version: WAeUP.Kofa\n" 17 "POT-Creation-Date: Thu Feb 23 18:36:342012\n"18 "PO-Revision-Date: 2012-03- 09 08:17+0100\n"17 "POT-Creation-Date: Wed Mar 14 16:32:16 2012\n" 18 "PO-Revision-Date: 2012-03-14 16:36+0100\n" 19 19 "Last-Translator: Henrik Bettermann <henrik@waeup.org>\n" 20 20 "Language-Team: WAeUP Germany <henrik@waeup.org>\n" … … 28 28 "X-Poedit-SourceCharset: utf-8\n" 29 29 30 #: waeup/custom/applicants/container.py:38 31 msgid "Postgraduates" 32 msgstr "Postgraduierte" 33 34 #: waeup/custom/applicants/container.py:39 35 msgid "handles postgraduate applicants" 36 msgstr "für Antragsteller von Postgraduierten-Studiengängen" 37 30 38 #: waeup/custom/browser/theming.py:30 31 39 msgid "Custom Theme 1" 32 40 msgstr "Benutzerdefiniertes Thema 1" 33 41 34 #: waeup/custom/interfaces.py:32 35 msgid "School Fee (ignored)" 36 msgstr "" 37 38 #: waeup/custom/interfaces.py:37 39 msgid "Surcharge BT" 40 msgstr "" 41 42 #: waeup/custom/interfaces.py:42 43 msgid "Surcharge Interswitch" 44 msgstr "" 45 46 #: waeup/custom/interfaces.py:47 47 msgid "Surcharge 3" 48 msgstr "" 49 50 #: waeup/custom/interfaces.py:52 51 msgid "Clearance Fee" 52 msgstr "" 53 54 #: waeup/custom/interfaces.py:57 55 msgid "Booking Fee" 56 msgstr "" 57 58 #: waeup/custom/interfaces.py:62 59 msgid "Maintenance Fee" 60 msgstr "" 61 62 #: waeup/custom/interfaces.py:67 63 msgid "Gown Fee" 64 msgstr "" 65 66 #: waeup/custom/interfaces.py:72 67 msgid "Transfer Fee" 68 msgstr "" 69 70 #: waeup/custom/interfaces.py:86 42 #: waeup/custom/interfaces.py:105 71 43 msgid "Academic Session" 72 44 msgstr "Akademisches Jahr" 73 45 46 #: waeup/custom/interfaces.py:34 47 msgid "School Fee (ignored)" 48 msgstr "Schulgebühr (wird nicht verwendet)" 49 50 #: waeup/custom/interfaces.py:40 51 msgid "Surcharge Portal Provider" 52 msgstr "Gebühr Portal-Provider" 53 54 #: waeup/custom/interfaces.py:46 55 msgid "Surcharge Interswitch" 56 msgstr "Gebühr Interswitch" 57 58 #: waeup/custom/interfaces.py:52 59 msgid "Surcharge 3" 60 msgstr "Gebühr 3" 61 62 #: waeup/custom/interfaces.py:58 63 msgid "Clearance Fee" 64 msgstr "Einschreibungsgebühr" 65 66 #: waeup/custom/interfaces.py:64 67 msgid "Booking Fee" 68 msgstr "Buchungsgebühr" 69 70 #: waeup/custom/interfaces.py:70 71 msgid "Acceptance Fee" 72 msgstr "Zulassungsgebühr" 73 74 #: waeup/custom/interfaces.py:78 75 msgid "Maintenance Fee" 76 msgstr "Miete" 77 78 #: waeup/custom/interfaces.py:84 79 msgid "Gown Fee" 80 msgstr "Talar-Gebühr" 81 82 #: waeup/custom/interfaces.py:90 83 msgid "Transfer Fee" 84 msgstr "Studienfachwechselgebühr" 85 86 #: waeup/custom/students/browser.py:112 87 msgid "Payment ticket can't be re-send to CollegePAY." 88 msgstr "Bewertete Bezahl-Tickets können nicht erneut gesendet werden." 89 90 #: waeup/custom/students/browser.py:74 91 msgid "CollegePAY" 92 msgstr "CollegePAY" 93 94 #: waeup/custom/students/browser.py:80 95 msgid "Request CollegePAY callback" 96 msgstr "CollegePAY Rückruf" 97 98 #: waeup/custom/students/browser.py:92 99 msgid "Submit data to CollegePAY (Interswitch Payment Gateway)" 100 msgstr "Daten an CollegePAY (Interswitch Payment Gateway) senden" 101 102 #: waeup/custom/students/browser.py:93 103 msgid "Submit" 104 msgstr "Senden" 105 106 #: waeup/custom/students/utils.py:70 107 msgid "Session configuration object is not available." 108 msgstr "Session-Konfiguration ist nicht verfügbar." 109 110 #: waeup/custom/students/utils.py:91 111 msgid "Amount could not be determined." 112 msgstr "Betrag konnte nicht ermittelt werden." 113 -
main/waeup.custom/trunk/src/waeup/custom/locales/fr/LC_MESSAGES/waeup.custom.po
r7822 r7880 15 15 msgstr "" 16 16 "Project-Id-Version: WAeUP.Kofa\n" 17 "POT-Creation-Date: Thu Feb 23 18:36:342012\n"17 "POT-Creation-Date: Wed Mar 14 16:32:16 2012\n" 18 18 "PO-Revision-Date: 2012-03-09 08:17+0100\n" 19 19 "Last-Translator: Henrik Bettermann <henrik@waeup.org>\n" … … 28 28 "X-Poedit-SourceCharset: utf-8\n" 29 29 30 #: waeup/custom/applicants/container.py:38 31 msgid "Postgraduates" 32 msgstr "" 33 34 #: waeup/custom/applicants/container.py:39 35 msgid "handles postgraduate applicants" 36 msgstr "" 37 30 38 #: waeup/custom/browser/theming.py:30 31 39 msgid "Custom Theme 1" 32 40 msgstr "" 33 41 34 #: waeup/custom/interfaces.py:32 42 #: waeup/custom/interfaces.py:105 43 msgid "Academic Session" 44 msgstr "" 45 46 #: waeup/custom/interfaces.py:34 35 47 msgid "School Fee (ignored)" 36 48 msgstr "" 37 49 38 #: waeup/custom/interfaces.py: 3739 msgid "Surcharge BT"50 #: waeup/custom/interfaces.py:40 51 msgid "Surcharge Portal Provider" 40 52 msgstr "" 41 53 42 #: waeup/custom/interfaces.py:4 254 #: waeup/custom/interfaces.py:46 43 55 msgid "Surcharge Interswitch" 44 56 msgstr "" 45 57 46 #: waeup/custom/interfaces.py: 4758 #: waeup/custom/interfaces.py:52 47 59 msgid "Surcharge 3" 48 60 msgstr "" 49 61 50 #: waeup/custom/interfaces.py:5 262 #: waeup/custom/interfaces.py:58 51 63 msgid "Clearance Fee" 52 64 msgstr "" 53 65 54 #: waeup/custom/interfaces.py: 5766 #: waeup/custom/interfaces.py:64 55 67 msgid "Booking Fee" 56 68 msgstr "" 57 69 58 #: waeup/custom/interfaces.py:62 70 #: waeup/custom/interfaces.py:70 71 msgid "Acceptance Fee" 72 msgstr "" 73 74 #: waeup/custom/interfaces.py:78 59 75 msgid "Maintenance Fee" 60 76 msgstr "" 61 77 62 #: waeup/custom/interfaces.py: 6778 #: waeup/custom/interfaces.py:84 63 79 msgid "Gown Fee" 64 80 msgstr "" 65 81 66 #: waeup/custom/interfaces.py: 7282 #: waeup/custom/interfaces.py:90 67 83 msgid "Transfer Fee" 68 84 msgstr "" 69 85 70 #: waeup/custom/ interfaces.py:8671 msgid " Academic Session"86 #: waeup/custom/students/browser.py:112 87 msgid "Payment ticket can't be re-send to CollegePAY." 72 88 msgstr "" 73 89 90 #: waeup/custom/students/browser.py:74 91 msgid "CollegePAY" 92 msgstr "" 93 94 #: waeup/custom/students/browser.py:80 95 msgid "Request CollegePAY callback" 96 msgstr "" 97 98 #: waeup/custom/students/browser.py:92 99 msgid "Submit data to CollegePAY (Interswitch Payment Gateway)" 100 msgstr "" 101 102 #: waeup/custom/students/browser.py:93 103 msgid "Submit" 104 msgstr "" 105 106 #: waeup/custom/students/utils.py:70 107 msgid "Session configuration object is not available." 108 msgstr "" 109 110 #: waeup/custom/students/utils.py:91 111 msgid "Amount could not be determined." 112 msgstr "" -
main/waeup.custom/trunk/src/waeup/custom/locales/ha/LC_MESSAGES/waeup.custom.po
r7822 r7880 15 15 msgstr "" 16 16 "Project-Id-Version: WAeUP.Kofa\n" 17 "POT-Creation-Date: Thu Feb 23 18:36:342012\n"17 "POT-Creation-Date: Wed Mar 14 16:32:16 2012\n" 18 18 "PO-Revision-Date: 2012-03-09 08:16+0100\n" 19 19 "Last-Translator: Henrik Bettermann <henrik@waeup.org>\n" … … 28 28 "X-Poedit-SourceCharset: utf-8\n" 29 29 30 #: waeup/custom/applicants/container.py:38 31 msgid "Postgraduates" 32 msgstr "" 33 34 #: waeup/custom/applicants/container.py:39 35 msgid "handles postgraduate applicants" 36 msgstr "" 37 30 38 #: waeup/custom/browser/theming.py:30 31 39 msgid "Custom Theme 1" 32 40 msgstr "" 33 41 34 #: waeup/custom/interfaces.py:32 42 #: waeup/custom/interfaces.py:105 43 msgid "Academic Session" 44 msgstr "" 45 46 #: waeup/custom/interfaces.py:34 35 47 msgid "School Fee (ignored)" 36 48 msgstr "" 37 49 38 #: waeup/custom/interfaces.py: 3739 msgid "Surcharge BT"50 #: waeup/custom/interfaces.py:40 51 msgid "Surcharge Portal Provider" 40 52 msgstr "" 41 53 42 #: waeup/custom/interfaces.py:4 254 #: waeup/custom/interfaces.py:46 43 55 msgid "Surcharge Interswitch" 44 56 msgstr "" 45 57 46 #: waeup/custom/interfaces.py: 4758 #: waeup/custom/interfaces.py:52 47 59 msgid "Surcharge 3" 48 60 msgstr "" 49 61 50 #: waeup/custom/interfaces.py:5 262 #: waeup/custom/interfaces.py:58 51 63 msgid "Clearance Fee" 52 64 msgstr "" 53 65 54 #: waeup/custom/interfaces.py: 5766 #: waeup/custom/interfaces.py:64 55 67 msgid "Booking Fee" 56 68 msgstr "" 57 69 58 #: waeup/custom/interfaces.py:62 70 #: waeup/custom/interfaces.py:70 71 msgid "Acceptance Fee" 72 msgstr "" 73 74 #: waeup/custom/interfaces.py:78 59 75 msgid "Maintenance Fee" 60 76 msgstr "" 61 77 62 #: waeup/custom/interfaces.py: 6778 #: waeup/custom/interfaces.py:84 63 79 msgid "Gown Fee" 64 80 msgstr "" 65 81 66 #: waeup/custom/interfaces.py: 7282 #: waeup/custom/interfaces.py:90 67 83 msgid "Transfer Fee" 68 84 msgstr "" 69 85 70 #: waeup/custom/ interfaces.py:8671 msgid " Academic Session"86 #: waeup/custom/students/browser.py:112 87 msgid "Payment ticket can't be re-send to CollegePAY." 72 88 msgstr "" 73 89 90 #: waeup/custom/students/browser.py:74 91 msgid "CollegePAY" 92 msgstr "" 93 94 #: waeup/custom/students/browser.py:80 95 msgid "Request CollegePAY callback" 96 msgstr "" 97 98 #: waeup/custom/students/browser.py:92 99 msgid "Submit data to CollegePAY (Interswitch Payment Gateway)" 100 msgstr "" 101 102 #: waeup/custom/students/browser.py:93 103 msgid "Submit" 104 msgstr "" 105 106 #: waeup/custom/students/utils.py:70 107 msgid "Session configuration object is not available." 108 msgstr "" 109 110 #: waeup/custom/students/utils.py:91 111 msgid "Amount could not be determined." 112 msgstr "" -
main/waeup.custom/trunk/src/waeup/custom/locales/waeup.custom.pot
r7696 r7880 15 15 msgstr "" 16 16 "Project-Id-Version: Development/Unknown\n" 17 "POT-Creation-Date: Thu Feb 23 18:36:342012\n"17 "POT-Creation-Date: Wed Mar 14 16:32:16 2012\n" 18 18 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 19 19 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 24 24 "Generated-By: zope/app/locales/extract.py\n" 25 25 26 #: waeup/custom/applicants/container.py:38 27 msgid "Postgraduates" 28 msgstr "" 29 30 #: waeup/custom/applicants/container.py:39 31 msgid "handles postgraduate applicants" 32 msgstr "" 33 26 34 #: waeup/custom/browser/theming.py:30 27 35 msgid "Custom Theme 1" 28 36 msgstr "" 29 37 30 #: waeup/custom/interfaces.py:32 38 #: waeup/custom/interfaces.py:105 39 msgid "Academic Session" 40 msgstr "" 41 42 #: waeup/custom/interfaces.py:34 31 43 msgid "School Fee (ignored)" 32 44 msgstr "" 33 45 34 #: waeup/custom/interfaces.py: 3735 msgid "Surcharge BT"46 #: waeup/custom/interfaces.py:40 47 msgid "Surcharge Portal Provider" 36 48 msgstr "" 37 49 38 #: waeup/custom/interfaces.py:4 250 #: waeup/custom/interfaces.py:46 39 51 msgid "Surcharge Interswitch" 40 52 msgstr "" 41 53 42 #: waeup/custom/interfaces.py: 4754 #: waeup/custom/interfaces.py:52 43 55 msgid "Surcharge 3" 44 56 msgstr "" 45 57 46 #: waeup/custom/interfaces.py:5 258 #: waeup/custom/interfaces.py:58 47 59 msgid "Clearance Fee" 48 60 msgstr "" 49 61 50 #: waeup/custom/interfaces.py: 5762 #: waeup/custom/interfaces.py:64 51 63 msgid "Booking Fee" 52 64 msgstr "" 53 65 54 #: waeup/custom/interfaces.py:62 66 #: waeup/custom/interfaces.py:70 67 msgid "Acceptance Fee" 68 msgstr "" 69 70 #: waeup/custom/interfaces.py:78 55 71 msgid "Maintenance Fee" 56 72 msgstr "" 57 73 58 #: waeup/custom/interfaces.py: 6774 #: waeup/custom/interfaces.py:84 59 75 msgid "Gown Fee" 60 76 msgstr "" 61 77 62 #: waeup/custom/interfaces.py: 7278 #: waeup/custom/interfaces.py:90 63 79 msgid "Transfer Fee" 64 80 msgstr "" 65 81 66 #: waeup/custom/ interfaces.py:8667 msgid " Academic Session"82 #: waeup/custom/students/browser.py:112 83 msgid "Payment ticket can't be re-send to CollegePAY." 68 84 msgstr "" 69 85 86 #: waeup/custom/students/browser.py:74 87 msgid "CollegePAY" 88 msgstr "" 89 90 #: waeup/custom/students/browser.py:80 91 msgid "Request CollegePAY callback" 92 msgstr "" 93 94 #: waeup/custom/students/browser.py:92 95 msgid "Submit data to CollegePAY (Interswitch Payment Gateway)" 96 msgstr "" 97 98 #: waeup/custom/students/browser.py:93 99 msgid "Submit" 100 msgstr "" 101 102 #: waeup/custom/students/utils.py:70 103 msgid "Session configuration object is not available." 104 msgstr "" 105 106 #: waeup/custom/students/utils.py:91 107 msgid "Amount could not be determined." 108 msgstr "" 109 -
main/waeup.custom/trunk/src/waeup/custom/locales/yo/LC_MESSAGES/waeup.custom.po
r7822 r7880 15 15 msgstr "" 16 16 "Project-Id-Version: WAeUP.Kofa\n" 17 "POT-Creation-Date: Thu Feb 23 18:36:342012\n"17 "POT-Creation-Date: Wed Mar 14 16:32:16 2012\n" 18 18 "PO-Revision-Date: 2012-03-09 08:17+0100\n" 19 19 "Last-Translator: Henrik Bettermann <henrik@waeup.org>\n" … … 28 28 "X-Poedit-SourceCharset: utf-8\n" 29 29 30 #: waeup/custom/applicants/container.py:38 31 msgid "Postgraduates" 32 msgstr "" 33 34 #: waeup/custom/applicants/container.py:39 35 msgid "handles postgraduate applicants" 36 msgstr "" 37 30 38 #: waeup/custom/browser/theming.py:30 31 39 msgid "Custom Theme 1" 32 40 msgstr "" 33 41 34 #: waeup/custom/interfaces.py:32 42 #: waeup/custom/interfaces.py:105 43 msgid "Academic Session" 44 msgstr "" 45 46 #: waeup/custom/interfaces.py:34 35 47 msgid "School Fee (ignored)" 36 48 msgstr "" 37 49 38 #: waeup/custom/interfaces.py: 3739 msgid "Surcharge BT"50 #: waeup/custom/interfaces.py:40 51 msgid "Surcharge Portal Provider" 40 52 msgstr "" 41 53 42 #: waeup/custom/interfaces.py:4 254 #: waeup/custom/interfaces.py:46 43 55 msgid "Surcharge Interswitch" 44 56 msgstr "" 45 57 46 #: waeup/custom/interfaces.py: 4758 #: waeup/custom/interfaces.py:52 47 59 msgid "Surcharge 3" 48 60 msgstr "" 49 61 50 #: waeup/custom/interfaces.py:5 262 #: waeup/custom/interfaces.py:58 51 63 msgid "Clearance Fee" 52 64 msgstr "" 53 65 54 #: waeup/custom/interfaces.py: 5766 #: waeup/custom/interfaces.py:64 55 67 msgid "Booking Fee" 56 68 msgstr "" 57 69 58 #: waeup/custom/interfaces.py:62 70 #: waeup/custom/interfaces.py:70 71 msgid "Acceptance Fee" 72 msgstr "" 73 74 #: waeup/custom/interfaces.py:78 59 75 msgid "Maintenance Fee" 60 76 msgstr "" 61 77 62 #: waeup/custom/interfaces.py: 6778 #: waeup/custom/interfaces.py:84 63 79 msgid "Gown Fee" 64 80 msgstr "" 65 81 66 #: waeup/custom/interfaces.py: 7282 #: waeup/custom/interfaces.py:90 67 83 msgid "Transfer Fee" 68 84 msgstr "" 69 85 70 #: waeup/custom/ interfaces.py:8671 msgid " Academic Session"86 #: waeup/custom/students/browser.py:112 87 msgid "Payment ticket can't be re-send to CollegePAY." 72 88 msgstr "" 73 89 90 #: waeup/custom/students/browser.py:74 91 msgid "CollegePAY" 92 msgstr "" 93 94 #: waeup/custom/students/browser.py:80 95 msgid "Request CollegePAY callback" 96 msgstr "" 97 98 #: waeup/custom/students/browser.py:92 99 msgid "Submit data to CollegePAY (Interswitch Payment Gateway)" 100 msgstr "" 101 102 #: waeup/custom/students/browser.py:93 103 msgid "Submit" 104 msgstr "" 105 106 #: waeup/custom/students/utils.py:70 107 msgid "Session configuration object is not available." 108 msgstr "" 109 110 #: waeup/custom/students/utils.py:91 111 msgid "Amount could not be determined." 112 msgstr "" -
main/waeup.custom/trunk/src/waeup/custom/students/browser.py
r7879 r7880 117 117 self.amount = (self.context.amount_auth + self.context.surcharge_1 + 118 118 self.context.surcharge_2 + self.context.surcharge_3) 119 self.amount_100 = 100 * self.amount 119 120 self.local_date_time = str(self.context.creation_date) 120 121 certificate = getattr(self.student['studycourse'],'certificate',None) … … 126 127 xmldict['faculty'] = None 127 128 xmldict['detail_ref'] = self.context.p_id 128 xmldict['provider_amt'] = self.context.surcharge_1129 xmldict['provider_amt'] = 100 * self.context.surcharge_1 129 130 xmldict['provider_acct'] = self.provider_acct 130 131 xmldict['provider_bank_id'] = self.provider_bank_id 131 132 xmldict['provider_item_name'] = self.provider_item_name 132 xmldict['institution_amt'] = self.amount133 xmldict['institution_amt'] = 100 * self.context.amount_auth 133 134 xmldict['institution_acct'] = self.institution_acct 134 135 xmldict['institution_bank_id'] = self.institution_bank_id 135 136 xmldict['institution_item_name'] = self.context.p_category 136 137 xmldict['institution_name'] = self.institution_name 138 # Interswitch amount is not part of the xml data 137 139 xmltext = """<payment_item_detail> 138 140 <item_details detail_ref="%(detail_ref)s" college="%(institution_name)s" department="%(department)s" faculty="%(faculty)s"> -
main/waeup.custom/trunk/src/waeup/custom/students/browser_templates/goto_interswitch.pt
r7879 r7880 62 62 <input type="hidden" name="site_name" tal:attributes="value view/site_name" /> 63 63 <input type="hidden" name="local_date_time" tal:attributes="value view/local_date_time" /> 64 <input type="hidden" name="amount" tal:attributes="value view/amount " />64 <input type="hidden" name="amount" tal:attributes="value view/amount_100" /> 65 65 66 66 <input type="hidden" name="txn_ref" tal:attributes="value view/context/p_id" />
Note: See TracChangeset for help on using the changeset viewer.