Changeset 15883 for main/kofacustom.iuokada
- Timestamp:
- 11 Dec 2019, 16:31:51 (5 years ago)
- Location:
- main/kofacustom.iuokada/trunk/src/kofacustom/iuokada
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/applicants/browser.py
r15878 r15883 87 87 form_fields = grok.AutoFields(IApplicantsContainer).omit( 88 88 'title', 'description') 89 form_fields[90 'startdate'].custom_widget = FriendlyDatetimeDisplayWidget('le')91 form_fields[92 'enddate'].custom_widget = FriendlyDatetimeDisplayWidget('le')93 89 if self.request.principal.id == 'zope.anybody': 94 90 form_fields = form_fields.omit( 95 91 'code', 'prefix', 'year', 'mode', 'hidden', 96 92 'strict_deadline', 'application_category', 97 'application_slip_notice', 'application_fee', 'with_picture') 93 'application_slip_notice', 94 'application_fee', 'with_picture', 95 'startdate', 'enddate') 98 96 return form_fields 99 97 -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/interswitch/tests.py
r15773 r15883 60 60 self.browser.open(self.payments_path + '/addop') 61 61 self.browser.getControl(name="form.p_category").value = ['schoolfee'] 62 self.browser.getControl("Create ticket").click()63 self.assertMatches('... ticket created...',62 self.browser.getControl("Create payment").click() 63 self.assertMatches('...Payment created...', 64 64 self.browser.contents) 65 65 ctrl = self.browser.getControl(name='val_id') … … 130 130 self.browser.open(self.payments_path + '/addop') 131 131 self.browser.getControl(name="form.p_category").value = ['schoolfee'] 132 self.browser.getControl("Create ticket").click()132 self.browser.getControl("Create payment").click() 133 133 self.assertMatches('...ticket created...', 134 134 self.browser.contents) … … 222 222 self.browser.getControl("Save").click() 223 223 self.browser.getControl("Add online").click() 224 self.assertMatches('... ticket created...',224 self.assertMatches('...Payment created...', 225 225 self.browser.contents) 226 226 #ctrl = self.browser.getControl(name='val_id') -
main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/locales/en/LC_MESSAGES/waeup.kofa.po
r15830 r15883 79 79 msgid "Edit application record" 80 80 msgstr "Continue application" 81 82 msgid "Payment ticket created." 83 msgstr "Payment created." 84 85 msgid "${a}: Online Payment Ticket ${b}" 86 msgstr "${a}: Online Payment ${b}" 87 88 msgid "Add online payment ticket" 89 msgstr "Add online payment" 90 91 msgid "Payment Tickets" 92 msgstr "Payment" 93 94 msgid "" 95 "<strong>Notice:</strong> If you need to pay for another service, select the " 96 "corresponding special application category above, click 'Save' and then 'Add " 97 "online payment ticket' again." 98 msgstr "" 99 "<strong>Notice:</strong> If you need to pay for another service, select the " 100 "corresponding special application category above, click 'Save' and then 'Add " 101 "online payment' again." 102 103 msgid "Add current session payment ticket" 104 msgstr "Add current session payment" 105 106 msgid "Add previous session payment ticket" 107 msgstr "Add previous session payment" 108 109 msgid "Add balance payment ticket" 110 msgstr "Add balance payment" 111 112 msgid "Ticket Creation Date" 113 msgstr "Creation Date" 114 115 msgid "Create ticket" 116 msgstr "Create payment"
Note: See TracChangeset for help on using the changeset viewer.