Changeset 15883 for main


Ignore:
Timestamp:
11 Dec 2019, 16:31:51 (5 years ago)
Author:
Henrik Bettermann
Message:

Replace 'payment ticket' by 'payment'.

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  
    8787        form_fields = grok.AutoFields(IApplicantsContainer).omit(
    8888            'title', 'description')
    89         form_fields[
    90             'startdate'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    91         form_fields[
    92             'enddate'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    9389        if self.request.principal.id == 'zope.anybody':
    9490            form_fields = form_fields.omit(
    9591                'code', 'prefix', 'year', 'mode', 'hidden',
    9692                'strict_deadline', 'application_category',
    97                 'application_slip_notice', 'application_fee', 'with_picture')
     93                'application_slip_notice',
     94                'application_fee', 'with_picture',
     95                'startdate', 'enddate')
    9896        return form_fields
    9997
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/interswitch/tests.py

    r15773 r15883  
    6060        self.browser.open(self.payments_path + '/addop')
    6161        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...',
    6464                           self.browser.contents)
    6565        ctrl = self.browser.getControl(name='val_id')
     
    130130        self.browser.open(self.payments_path + '/addop')
    131131        self.browser.getControl(name="form.p_category").value = ['schoolfee']
    132         self.browser.getControl("Create ticket").click()
     132        self.browser.getControl("Create payment").click()
    133133        self.assertMatches('...ticket created...',
    134134                           self.browser.contents)
     
    222222        self.browser.getControl("Save").click()
    223223        self.browser.getControl("Add online").click()
    224         self.assertMatches('...ticket created...',
     224        self.assertMatches('...Payment created...',
    225225                           self.browser.contents)
    226226        #ctrl = self.browser.getControl(name='val_id')
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/locales/en/LC_MESSAGES/waeup.kofa.po

    r15830 r15883  
    7979msgid "Edit application record"
    8080msgstr "Continue application"
     81
     82msgid "Payment ticket created."
     83msgstr "Payment created."
     84
     85msgid "${a}: Online Payment Ticket ${b}"
     86msgstr "${a}: Online Payment ${b}"
     87
     88msgid "Add online payment ticket"
     89msgstr "Add online payment"
     90
     91msgid "Payment Tickets"
     92msgstr "Payment"
     93
     94msgid ""
     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."
     98msgstr ""
     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
     103msgid "Add current session payment ticket"
     104msgstr "Add current session payment"
     105
     106msgid "Add previous session payment ticket"
     107msgstr "Add previous session payment"
     108
     109msgid "Add balance payment ticket"
     110msgstr "Add balance payment"
     111
     112msgid "Ticket Creation Date"
     113msgstr "Creation Date"
     114
     115msgid "Create ticket"
     116msgstr "Create payment"
Note: See TracChangeset for help on using the changeset viewer.