This commit is contained in:
2022-09-22 20:08:55 -04:00
parent d16da0b2e4
commit 27238f212b
5 changed files with 29 additions and 5 deletions
+6
View File
@@ -18,6 +18,12 @@ class Account_model extends CI_Model {
return $query->result_array();
}
public function getUserEscrowWallet($member_id) {
$mysql = "SELECT sum(amount),currency FROM members_payments WHERE code ='OFDPS' AND member_id = $member_id AND confirmation IS NOT NULL GROUP BY currency";
$query = $this->db->query($mysql);
return $query->result_array();
}
public function verify_link($data) {
$q = $this
->db