Ignore:
Timestamp:
28 Dec 2022, 09:56:45 (2 years ago)
Author:
Henrik Bettermann
Message:

Save p_option.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/applicants
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py

    r17200 r17245  
    823823            self.redirect(self.url(self.context))
    824824            return
    825         if getattr(self.context, 'p_option', None):
    826             payment.p_option = self.context.p_option
    827825        self.context[payment.p_id] = payment
    828826        self.context.writeLogMessage(self, 'added: %s' % payment.p_id)
     
    855853    def createTicket(self, **data):
    856854        p_category = data['p_category']
    857         p_option = data.get('p_option', None)
     855        form = self.request.form
     856        p_option = form.get('form.p_option', None)
    858857        balance_amount = data.get('balance_amount', None)
    859858        applicants_utils = getUtility(IApplicantsUtils)
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/interfaces.py

    r17205 r17245  
    716716        required = True,
    717717        readonly = False,
    718         description = _(
    719             u'Balance in Naira'),
     718        #description = _(
     719        #    u'Balance in Naira'),
    720720        )
    721721
Note: See TracChangeset for help on using the changeset viewer.