Ignore:
Timestamp:
19 Aug 2016, 04:14:34 (8 years ago)
Author:
Henrik Bettermann
Message:

Add logo.

Location:
main/kofacustom.coewarri/trunk/src/kofacustom/coewarri
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/applicants/tests/test_browser.py

    r14035 r14092  
    7575    layer = FunctionalLayer
    7676
    77     def test_applicatio_slip(self):
     77    def test_application_slip(self):
    7878        self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')
    7979        self.slip_path = self.view_path + '/application_slip.pdf'
  • main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/browser/pdf.py

    r10765 r14092  
    2727    """
    2828
    29     #header_logo_path = os.path.join(
    30     #    os.path.dirname(__file__), 'static', 'pdf_logo.jpg')
    31     #watermark_path = os.path.join(
    32     #    os.path.dirname(__file__), 'static', 'pdf_watermark.jpg')
     29    header_logo_path = os.path.join(
     30        os.path.dirname(__file__), 'static', 'pdf_logo.jpg')
     31    watermark_path = os.path.join(
     32        os.path.dirname(__file__), 'static', 'pdf_watermark.jpg')
    3333
    34     watermark_pos = [-25, 100]
    35     logo_pos = [507, 720, 40]
     34    watermark_pos = [57, 140]
     35    logo_pos = [510, 740, 50]
  • main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/interswitch/browser.py

    r14035 r14092  
    3232PRODUCT_ID = '57'
    3333SITE_NAME = 'coewarri-kofa.waeup.org'
    34 PROVIDER_ACCT = '00000000'
    35 PROVIDER_BANK_ID = '00'
     34PROVIDER_ACCT = '0137712635'
     35PROVIDER_BANK_ID = '10'
    3636PROVIDER_ITEM_NAME = 'BT Education'
    3737INSTITUTION_NAME = 'COE Warri'
    3838CURRENCY = '566'
    39 GATEWAY_AMT = 150.0
     39GATEWAY_AMT = 250.0
    4040#QUERY_URL = 'https://webpay.interswitchng.com/paydirect/services/TransactionQueryURL.aspx'
    4141#QUERY_URL = 'https://testwebpay.interswitchng.com/test_paydirect/services/TransactionQueryURL.aspx'
     
    132132            return
    133133        xmldict = {}
    134         provider_amt = 400.0
    135         xmldict['institution_acct'] = '00000000000'
    136         xmldict['institution_bank_id'] = '00'
     134        provider_amt = 500.0
     135        xmldict['institution_acct'] = '1005154149'
     136        xmldict['institution_bank_id'] = '7'
    137137        xmldict['detail_ref'] = self.context.p_id
    138138        xmldict['provider_amt'] = 100 * provider_amt
Note: See TracChangeset for help on using the changeset viewer.