Withdraw page layout cleanup
This commit is contained in:
@@ -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||'<br>'||me.email AS Sender,"
|
||||
$mysql = "SELECT m.added::date,mp.confirmation,me.firstname||' '||me.lastname||'<br>'||me.email AS Sender,"
|
||||
. "sr.firstname||' '||sr.lastname||'<br>ACC:'||sr.account_no||'-'||be.name AS recipient, m.initiatingamount*0.01 AS Amount,m.fee*0.01 AS Fee, "
|
||||
. "'<input type=submit onclick=\"return smoneyDetail('||m.id||')\" name=\"manage\" class=\"btn btn-info btn-sm\" value=\"Detail\">' As Detail, "
|
||||
. "'<input type=submit id=\"acc'||m.id||'\" onclick=\"return smoneyProcess('||m.id||')\" name=\"manage\" class=\"btn btn-info btn-sm\" value=\"Process\">' 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||'<br>'||me.email AS Sender,"
|
||||
$mysql = "SELECT m.added::date,mp.confirmation,me.firstname||' '||me.lastname||'<br>'||me.email AS Sender,"
|
||||
. "sr.firstname||' '||sr.lastname||'<br>ACC:'||sr.account_no||'-'||be.name AS recipient, m.initiatingamount*0.01 AS Amount,m.fee*0.01 AS Fee, "
|
||||
. "'<input type=submit onclick=\"return smoneyDetail('||m.id||')\" name=\"manage\" class=\"btn btn-info btn-xs\" value=\"Detail\">' As Detail, "
|
||||
. "'<input type=submit id=\"acc'||m.id||'\" onclick=\"return smoneyTransmit('||m.id||')\" name=\"manage\" class=\"btn btn-warning btn-xs\" value=\"Transmit >> \">' 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);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user