diff --git a/www/application/controllers/Member.php b/www/application/controllers/Member.php index 5967821d..f163c00c 100644 --- a/www/application/controllers/Member.php +++ b/www/application/controllers/Member.php @@ -607,6 +607,25 @@ class Member extends Users_Controller { public function addfund() { $data = $this->getSessionArray(); + + + $this->load->library('table'); + $this->table->set_template($this->template); + $mysql = "SELECT m.added::date AS date,m.terminatingamount*0.01 AS amount,m.fee*0.01 as fee, " + . "r.firstname||' '||r.lastname||'
Acc:'||r.account_no||'-'||b.name AS Recitient,mp.confirmation," + . "CASE WHEN m.status=1 THEN 'Pending' WHEN m.status=3 THEN 'Cancelled' WHEN m.status=5 THEN 'Completed' ELSE '' END AS Status " + . "FROM money_transfer m " + . "LEFT JOIN sendmoney_recipient r ON r.id = m.recipientid " + . "LEFT JOIN bank_entity_codes b ON b.code = r.bank_code " + . "LEFT JOIN members_payments mp ON mp.what_sendmoney = m.id " + . "WHERE m.member_id =" . $_SESSION['member_id'] . " AND mp.confirmation IS NOT NULL ORDER BY m.id DESC LIMIT 4"; + + $query = $this->db->query($mysql); + $this->table->set_heading('Date', 'Amount','Fee','Recipient','Confirmation', 'Status'); + $data['sendmoney_table'] = $this->table->generate($query); + $data['sendmoney_table_result'] = $query->result(); + + $data['page_key'] = 'WRB_FUND_ACCOUNT'; $data['txt_detail'] = $this->readFixedText($data['page_key']); $data['txt_detail'] = str_replace("[how-it-worked-image-1]", "", $data['txt_detail']); diff --git a/www/application/views/users/view_addfund.php b/www/application/views/users/view_addfund.php index 6dab875a..b81b4fed 100644 --- a/www/application/views/users/view_addfund.php +++ b/www/application/views/users/view_addfund.php @@ -1,145 +1,121 @@ - -
- - -
-
-
Add Credit to your Account
-
-
- - -
-
- -
-
- - -
-
+ + +
+ +
+ -
- - - - + +
+ +
+
+

Add Credit to your Account

+
- - + + +
+
+ + + +
+
+ +
+ + +
+ + +
+ +
+ +
+

+ Recent Activities + Activity Report +

+
-
-
+
+
+ + +
+
+ +
+ +
+ + + + - -
- -
- Credit Your Account With PayPalTM - -
- - -
- -
+ + + + + + + + + + + + + + + + + ".$nairaval." Naira for $". sprintf ("%.2f",$dollarval).""; - } - ?> - - - - - - - + } + ?> + + + + +
DateRecipientAmount/FeeConf/Status
+ date?> + + recitient?> + + + amount?>
fee?> +
+ confirmation?> + status?> + + + + +
+ +
-
-
You will be transferred to the Paypal website to complete this transaction. -

- You will require an existing Paypal account to complete this transaction.

- -

PLEASE DO NOT CLOSE THE PAYPAL PAGE AFTER PAYMENT IS COMPLETED, you will be automatically re-directed back to your WrenchBoard account once payment is approved. If you close the page before this, your payment may not be properly credited.
-
-
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - -
- -
-
- -
- Your Page -
- -
-
How it Works
- See how to create projects, offer and manage project on WrenchBoard -
-
-
- - -
- - -
-
- -
-
- - - - - - - - - - - - +
- + + +
+
+ +
+ +
+ +
+ diff --git a/www/application/views/users/view_startpaymus.php b/www/application/views/users/view_startpaymus.php index 0e6ace01..8a604db3 100644 --- a/www/application/views/users/view_startpaymus.php +++ b/www/application/views/users/view_startpaymus.php @@ -282,3 +282,72 @@
+ +
+ +
+ +
+ +
+

+ Payment Methods +

+
+ PayPal +
+
+ + +
+ +
+ + +
+ + + + + +
+ +
+ + +
You will be transferred to the Paypal website to complete this transaction. +

+ You will require an existing Paypal account to complete this transaction.

+ +

PLEASE DO NOT CLOSE THE PAYPAL PAGE AFTER PAYMENT IS COMPLETED, you will be automatically re-directed back to your WrenchBoard account once payment is approved. If you close the page before this, your payment may not be properly credited.
+ + +
+ +
+ +
+ + +
+ +
+ +
+ +
+ +
+