Changeset 1950


Ignore:
Timestamp:
23 Jun 2007, 06:23:51 (17 years ago)
Author:
Henrik Bettermann
Message:

check_transactions.py fixed

payments_view.pt adapted to the needs of IE

Location:
WAeUP_SRP/trunk/skins/waeup_epayment
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_epayment/check_transactions.py

    r1949 r1950  
    7474        review_state = context.getStudentReviewState(student_id)
    7575        if review_state != "cleared_and_validated":
    76             logger.info('%s review_state = %s' % (student_id,review_state))
    77             continue       
     76            #logger.info('%s review_state = %s' % (student_id,review_state))
     77            continue
    7878        review_state = wftool.getInfoFor(payment_obj,'review_state',None)
    7979        if payment_doc.resp_code == "":
     
    8181                logger.info("Payment object of %s is closed and won't be reopend" % (student_id))
    8282                continue
    83             logger.info('%s approves epayment for %s by import' % (member,student_id)))   
     83            logger.info('%s approves epayment for %s by import' % (member,student_id))
    8484        else:
    8585            if review_state == "closed":
    86                 logger.info('%s approves epayment for %s by import. Payment object was already closed, old resp_code: %s' % (member,student_id,payment_doc.resp_code))
     86                logger.info('%s approves epayment for %s by import, old resp_code: %s' % (member,student_id,payment_doc.resp_code))
    8787                wftool.doActionFor(payment_obj,'open')
    88             # cannot happen but anyway ...   
     88            # cannot happen but anyway ...
    8989            else:
    90                 logger.info('%s approves epayment for %s by import. Payment object is overwritten, old resp_code: %s' % (member,student_id,payment_doc.resp_code))
     90                logger.info('%s approves epayment for %s by import. Payment object was opened, old resp_code: %s' % (member,student_id,payment_doc.resp_code))
    9191        pd['resp_code'] = 'IP'
    9292        pd['resp_desc'] = 'Payment approved by import, %s' % (DateTime.DateTime())
  • WAeUP_SRP/trunk/skins/waeup_epayment/payments_view.pt

    r1948 r1950  
    3030          <tr tal:repeat="row rows"
    3131              tal:attributes="class python:test(repeat['row'].even(), 'even ajaxtd', 'odd ajaxtd')">
    32             <td tal:attributes="class string:${row/confirmed}">
     32            <td style="white-space:normal" tal:attributes="class string:${row/confirmed}">
    3333              <a style="white-space:normal"  target="slip" href="" tal:attributes="href string:${context/absolute_url}/${row/id}/payment_receipt"
    3434                 onclick="javascript:window.open('','slip','width=600, height=700, directories=no, toolbar=no, location=no, menubar=yes, scrollbars=yes, status=no, resizable=no, dependent=no')">
Note: See TracChangeset for help on using the changeset viewer.