public function get_cash_logs($data, $pot = '') { //$this->switching('cash_log', $pot); $this->db->order_by("{$this->table}.id asc, {$this->table}.created asc"); return parent::all($data); }