Changeset 1247 for WAeUP_SRP/trunk
- Timestamp:
- 8 Jan 2007, 20:58:43 (18 years ago)
- Location:
- WAeUP_SRP/trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/Payment.py
r1243 r1247 52 52 description = getattr(content,'type_description','') 53 53 d = getattr(content,'date','') 54 #pay_date = "%s .%s.%s %s:%s:%s" %(d[:2],d[2:4],d[4:6],d[6:8],d[8:10],d[10:])55 pay_date = d.strftime("%d .%m.%y.%H:%M:%S")54 #pay_date = "%s/%s/%s %s:%s:%s" %(d[:2],d[2:4],d[4:6],d[6:8],d[8:10],d[10:]) 55 pay_date = d.strftime("%d/%m/%y %H:%M:%S") 56 56 amount = getattr(content,'amount','') 57 57 if not (description or pay_date or amount): 58 58 return self.getId() 59 return "%(description)s %(amount)s N%(pay_date)s" % vars()59 return "%(description)s, Naira %(amount)s, %(pay_date)s" % vars() 60 60 ###) 61 61 -
WAeUP_SRP/trunk/profiles/default/layouts/payment.xml
r1246 r1247 8 8 <property name="validate_values_expr"></property> 9 9 <widget name="amount" meta_type="String Widget"> 10 <property name="title">Amount Payed</property>10 <property name="title">Amount Authorized</property> 11 11 <property name="fields"> 12 12 <element value="amount"/> 13 13 </property> 14 <property name="label">Amount Payed</property>15 <property name="label_edit">Amount Payed</property>14 <property name="label">Amount Authorized</property> 15 <property name="label_edit">Amount Authorized</property> 16 16 <property name="readonly_layout_modes"/> 17 17 <property name="hidden_layout_modes"/> … … 19 19 </widget> 20 20 <widget name="date" meta_type="DateTime Widget"> 21 <property name="title"> PaymentDate</property>21 <property name="title">Transaction Date</property> 22 22 <property name="fields"> 23 23 <element value="date"/> 24 24 </property> 25 <property name="label"> PaymentDate</property>26 <property name="label_edit"> PaymentDate</property>25 <property name="label">Transaction Date</property> 26 <property name="label_edit">Transaction Date</property> 27 27 <property name="readonly_layout_modes"/> 28 28 <property name="hidden_layout_modes"/> 29 29 <property name="hidden_readonly_layout_modes"/> 30 30 </widget> 31 <widget name="order_id" meta_type="String Widget">32 <property name="title">Order Id</property>33 <property name="fields">34 <element value="order_id"/>35 </property>36 <property name="label">Order Id</property>37 <property name="label_edit">Order Id</property>38 <property name="readonly_layout_modes"/>39 <property name="hidden_layout_modes"/>40 <property name="hidden_readonly_layout_modes"/>41 <property name="display_width">20</property>42 </widget>43 31 <widget name="resp_approved_amount" meta_type="String Widget"> 44 <property name="title"> Approved Amount</property>32 <property name="title">Response Amount Approved</property> 45 33 <property name="fields"> 46 34 <element value="resp_approved_amount"/> 47 35 </property> 48 <property name="label"> Approved Amount</property>49 <property name="label_edit"> Approved Amount</property>36 <property name="label">Response Amount Approved</property> 37 <property name="label_edit">Response Amount Approved</property> 50 38 <property name="readonly_layout_modes"/> 51 39 <property name="hidden_layout_modes"/> … … 54 42 </widget> 55 43 <widget name="resp_pay_reference" meta_type="String Widget"> 56 <property name="title"> PayReference</property>44 <property name="title">Response Reference</property> 57 45 <property name="fields"> 58 46 <element value="resp_pay_reference"/> 59 47 </property> 60 <property name="label"> PayReference</property>61 <property name="label_edit"> PayReference</property>48 <property name="label">Response Reference</property> 49 <property name="label_edit">Response Reference</property> 62 50 <property name="readonly_layout_modes"/> 63 51 <property name="hidden_layout_modes"/> … … 66 54 </widget> 67 55 <widget name="resp_card_num" meta_type="String Widget"> 68 <property name="title"> Card NrUsed</property>56 <property name="title">Response Card Used</property> 69 57 <property name="fields"> 70 58 <element value="resp_card_num"/> 71 59 </property> 72 <property name="label"> Card Used</property>73 <property name="label_edit"> Card Used</property>60 <property name="label">Response Card Used</property> 61 <property name="label_edit">Response Card Used</property> 74 62 <property name="readonly_layout_modes"/> 75 63 <property name="hidden_layout_modes"/> … … 100 88 </widget> 101 89 <widget name="type_code" meta_type="String Widget"> 102 <property name="title">Payment TypeCode</property>90 <property name="title">Payment Code</property> 103 91 <property name="fields"> 104 92 <element value="type_code"/> 105 93 </property> 106 <property name="label">Payment TypeCode</property>107 <property name="label_edit">Payment TypeCode</property>94 <property name="label">Payment Code</property> 95 <property name="label_edit">Payment Code</property> 108 96 <property name="readonly_layout_modes"/> 109 97 <property name="hidden_layout_modes"/> … … 111 99 </widget> 112 100 <widget name="type_description" meta_type="String Widget"> 113 <property name="title">Payment TypeDescription</property>101 <property name="title">Payment Description</property> 114 102 <property name="fields"> 115 103 <element value="type_description"/> 116 104 </property> 117 <property name="label">Payment TypeDescription</property>118 <property name="label_edit">Payment TypeDescription</property>105 <property name="label">Payment Description</property> 106 <property name="label_edit">Payment Description</property> 119 107 <property name="readonly_layout_modes"/> 120 108 <property name="hidden_layout_modes"/> -
WAeUP_SRP/trunk/skins/waeup_epayment/getSchoolFee.py
r1240 r1247 18 18 "EDU", 19 19 ) 20 fee_1_data = ("22200","School fee for 2006/2007 Session")21 fee_2_data = ("23700","School fee for 2006/2007 Session")20 fee_1_data = ("22200","School Fee for Session 2006/2007") 21 fee_2_data = ("23700","School Fee for Session 2006/2007") 22 22 23 23 if faculty in fee1: -
WAeUP_SRP/trunk/skins/waeup_epayment/payments_view.pt
r1245 r1247 23 23 </metal:block> 24 24 <metal:main fill-slot="main"> 25 <div> 26 <a href="" tal:attributes="href string:${context/absolute_url}/pay_online">Pay Your Schoolfee online</a> 27 </div> 25 28 26 <table class="contentListing" width="100%"> 29 27 <tr tal:repeat="row rows" … … 35 33 </tr> 36 34 </table> 35 <br /> 36 <div> 37 38 <form tal:attributes="action string: ${context/absolute_url}/pay_online" method="post" class="group"> 39 <input type="submit" class="context" value="Initiate School Fee Online Payment" /> 40 </form> 41 42 </div> 43 44 37 45 </metal:main> 38 46 </metal:body> -
WAeUP_SRP/trunk/skins/waeup_epayment/wema_form.pt
r1243 r1247 3 3 tal:define="info options/info"> 4 4 5 <h3> Pay Your School Fee Online! </h3>5 <h3>Authorize Online Payment! </h3> 6 6 <br /> 7 7 … … 48 48 Amount: 49 49 </td> 50 <td> Naira <span tal:content="info/amount" /> .00</td>50 <td> Naira <span tal:content="info/amount" /></td> 51 51 </tr> 52 <tr> 53 <td > 54 Bank: 55 </td> 56 <td>Wema Bank</td> 57 </tr> 52 58 </table> 53 59 <br /> 54 60 <input type="submit" class="standalone" name="btnPostPopup" 55 value=" Pay with Wema Bank Debit Card"61 value="Start" 56 62 /> 57 63
Note: See TracChangeset for help on using the changeset viewer.