Changeset 17442


Ignore:
Timestamp:
20 Jun 2023, 07:53:50 (17 months ago)
Author:
Henrik Bettermann
Message:

Simplify payment slip.

Location:
main/waeup.aaue/trunk/src/waeup/aaue
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py

    r17441 r17442  
    156156        itemlist = xmldoc.getElementsByTagName('item_detail')
    157157        for s in itemlist:
    158             xmlitems += "%s: %s, N%s, %s (%s)  " % (
    159                 s.attributes['item_id'].value,
     158            xmlitems += "%s (%s %s, %s (%s)),  " % (
    160159                s.attributes['item_name'].value,
     160                u'\u20a6',
    161161                int(s.attributes['item_amt'].value)/100,
    162162                s.attributes['acct_num'].value,
     
    355355        itemlist = xmldoc.getElementsByTagName('item_detail')
    356356        for s in itemlist:
    357             xmlitems += "%s: %s, %s %s, %s (%s)  " % (
    358                 s.attributes['item_id'].value,
     357            xmlitems += "%s (%s %s, %s (%s)),  " % (
    359358                s.attributes['item_name'].value,
    360359                u'\u20a6',
  • main/waeup.aaue/trunk/src/waeup/aaue/students/browser.py

    r17441 r17442  
    325325    form_fields = grok.AutoFields(ICustomStudentOnlinePayment).omit(
    326326        'provider_amt', 'gateway_amt', 'thirdparty_amt', 'p_item',
    327         'p_split_data', 'p_combi')
     327        'p_split_data', 'p_combi', 'r_card_num', 'r_payment_link')
    328328    form_fields['creation_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
    329329    form_fields['payment_date'].custom_widget = FriendlyDatetimeDisplayWidget('le')
     
    336336        except KeyError:
    337337            academic_session = None
    338         text =  '\n\n The Amount Authorized is inclusive of: %s and also of NGN %d Interswitch surcharge.' % (
     338        text =  '\nThe Amount Authorized is inclusive of: %s Interswitch surcharge (NGN %d).' % (
    339339            getattr(self.context, 'p_split_data'), self.context.gateway_amt)
    340340
Note: See TracChangeset for help on using the changeset viewer.