|
|
|
@ -173,7 +173,16 @@ class Note_model extends CI_Model {
|
|
|
|
|
}
|
|
|
|
|
$this->search = $search_sql;
|
|
|
|
|
$this->orderby = " order by pn.pn_sn asc";
|
|
|
|
|
return $this->get_list();
|
|
|
|
|
$filter_list = [];
|
|
|
|
|
$txn_list = [];
|
|
|
|
|
$query_list = $this->get_list();
|
|
|
|
|
foreach ($query_list as $key => $row) {
|
|
|
|
|
if (!in_array($row->pn_txn_id, $txn_list)) {
|
|
|
|
|
$txn_list[] = $row->pn_txn_id;
|
|
|
|
|
$filter_list[] = $row;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
return $filter_list;
|
|
|
|
|
}
|
|
|
|
|
public function top_list($top, $currency=NULL, $pn_sn=NULL, $includeWH=true)
|
|
|
|
|
{
|
|
|
|
|