|
@@ -2531,11 +2531,7 @@ class Transfer extends Start_Controller {
|
|
|
if($transfer){
|
|
|
$where .= " and lx = '$transfer'";
|
|
|
}else{
|
|
|
- $transfer = $this->transfer->find_all('id not in (8,9,11,12,15,16)');
|
|
|
- $transfer_ids = array_column($transfer, 'id');
|
|
|
- var_dump(implode(",",$transfer_ids));
|
|
|
- die;
|
|
|
-
|
|
|
+
|
|
|
$where .= " and lx in (".implode(",",$transfer_ids).") ";
|
|
|
}
|
|
|
|
|
@@ -2672,6 +2668,9 @@ class Transfer extends Start_Controller {
|
|
|
if($transfer){
|
|
|
$where .= " and lx = '$transfer'";
|
|
|
}else{
|
|
|
+ $transfer = $this->transfer->find_all('id not in (8,9,11,12,15,16)');
|
|
|
+ $transfer_ids = array_column($transfer, 'id');
|
|
|
+ $transfer_ids = implode(",",$transfer_ids);
|
|
|
$where .= " and lx in (".$transfer_ids.") ";
|
|
|
}
|
|
|
|