function FIRST()
 {
     Load::model('geology');
     $Geology = new Geology();
     $result = $Geology->get_summary();
     include 'ewallet.php';
     $Ewallet = new Ewallet();
     $this->param['weekly'] = $Ewallet->get_weekly($result['OUT']);
     Load::view('dashboard', $this->param);
 }
Example #2
0
 function FIRST()
 {
     Load::model('geology');
     Load::model('transaction');
     $Geology = new Geology();
     $Transaction = new Transaction();
     $result = $Geology->get_summary();
     $param['record'] = $Transaction->viewTransactions();
     $param['weekly'] = $this->get_weekly($result['OUT']);
     $param['current'] = $this->get_current($result['OUT'], $param['record']);
     Load::view('ewallet', $param);
 }
 function textual()
 {
     Load::model('geology');
     $Geology = new Geology();
     $result = $Geology->get_summary();
     Load::view('geneology-textual', $result);
 }