bac office data format
This commit is contained in:
@@ -346,7 +346,11 @@ class Bkouser extends Bko_Controller {
|
||||
|
||||
|
||||
|
||||
$mysql = "SELECT w.amount,c.*,w.amount AS current_balance FROM members_wallet w LEFT JOIN currency c ON c.code=w.currency WHERE w.member_id = ".$_SESSION['bko_selected_id']." ORDER BY c.lorder DESC";
|
||||
$mysql = "SELECT w.amount,c.*,w.amount AS current_balance
|
||||
FROM members_wallet w
|
||||
LEFT JOIN currency c ON c.code=w.currency
|
||||
WHERE w.member_id = ".$_SESSION['bko_selected_id']."
|
||||
ORDER BY c.lorder DESC";
|
||||
$query = $this->db->query($mysql);
|
||||
$data['wallet_result'] = $this->table->generate($query);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user