From 47a5b16c2efe3804112b3251eb482ef1796a7fd2 Mon Sep 17 00:00:00 2001 From: dev-chiefworks Date: Fri, 17 Dec 2021 22:57:23 -0500 Subject: [PATCH] Withdraw page layout cleanup --- application/controllers/Bkotransaction.php | 22 +++++++++++++++++-- application/views/bko/view_bko_login.php | 7 +++++- application/views/bko/view_bko_transmitsm.php | 2 +- 3 files changed, 27 insertions(+), 4 deletions(-) diff --git a/application/controllers/Bkotransaction.php b/application/controllers/Bkotransaction.php index db739c9..e2eba33 100644 --- a/application/controllers/Bkotransaction.php +++ b/application/controllers/Bkotransaction.php @@ -182,7 +182,7 @@ class Bkotransaction extends Bko_Controller { $sdate = '2016-01-01'; $edate = '2018-01-01'; - $mysql = "SELECT m.added,mp.confirmation,me.firstname||' '||me.lastname||'
'||me.email AS Sender," + $mysql = "SELECT m.added::date,mp.confirmation,me.firstname||' '||me.lastname||'
'||me.email AS Sender," . "sr.firstname||' '||sr.lastname||'
ACC:'||sr.account_no||'-'||be.name AS recipient, m.initiatingamount*0.01 AS Amount,m.fee*0.01 AS Fee, " . "'' As Detail, " . "'' As Process " @@ -250,7 +250,7 @@ class Bkotransaction extends Bko_Controller { $sdate = '2016-01-01'; $edate = '2018-01-01'; - $mysql = "SELECT m.added,mp.confirmation,me.firstname||' '||me.lastname||'
'||me.email AS Sender," + $mysql = "SELECT m.added::date,mp.confirmation,me.firstname||' '||me.lastname||'
'||me.email AS Sender," . "sr.firstname||' '||sr.lastname||'
ACC:'||sr.account_no||'-'||be.name AS recipient, m.initiatingamount*0.01 AS Amount,m.fee*0.01 AS Fee, " . "'' As Detail, " . "'> \">' As Transmit " @@ -262,6 +262,24 @@ class Bkotransaction extends Bko_Controller { . "WHERE m.status =1 AND m.completed IS NULL ORDER BY m.added DESC "; $query = $this->db->query($mysql); + + $this->table->set_heading( + array('data' => 'Date', 'style' => 'width:100px'), + array('data' => 'Confirmation', 'style' => 'width:100px'), + 'Sender', + 'Recipient', + array('data' => 'Amount', 'style' => 'width:100px'), + array('data' => 'Fee', 'style' => 'width:60px'), + array('data' => 'Detail', 'style' => 'width:100px'), + array('data' => 'Action', 'style' => 'width:100px') + ); +// +// +//array('data' => 'Date', 'style' => 'width:100px') +//array('data' => 'Date', 'style' => 'width:100px') +//array('data' => 'Date', 'style' => 'width:100px') +// + $data['sendmoney_dash_table'] = $this->table->generate($query); diff --git a/application/views/bko/view_bko_login.php b/application/views/bko/view_bko_login.php index f0fdb37..22557b5 100644 --- a/application/views/bko/view_bko_login.php +++ b/application/views/bko/view_bko_login.php @@ -70,6 +70,9 @@