public $person_id; // int(11)
public $remarks; // blob(65535) blob
public $person_table; // string(64)
- public $investor_id; // int(11)
+ public $coba_investor_id; // int(11)
/* the code above is auto generated do not remove the tag below */
###END_AUTOCODE
$this->whereAdd("$tn.on_table = ''");
}
-
+ if (!empty($q['query']['to'])) {
+ $dt = date('Y-m-d' , strtotime($q['query']['to']));
+ $this->whereAdd(" {$tn}.event_when <= '$dt' ");
+ }
if (isset($q['query']['person_sum'])) {
//DB_DataObject::debugLevel(1);