diff --git a/Layout/default/Linework/Index.php b/Layout/default/Linework/Index.php index 2244deab4..380427dfc 100644 --- a/Layout/default/Linework/Index.php +++ b/Layout/default/Linework/Index.php @@ -78,7 +78,7 @@ id) ? "selected='selected'" : ""?> - id == 3) ? "selected='selected'" : ""?> + id, ["145","62","56"]) && $status->id == 3) ? "selected='selected'" : ""?> > code?> - name."-t")?> diff --git a/application/Linework/LineworkController.php b/application/Linework/LineworkController.php index 529e966f5..102b98336 100644 --- a/application/Linework/LineworkController.php +++ b/application/Linework/LineworkController.php @@ -104,7 +104,7 @@ class LineworkController extends mfBaseController { - if(!array_key_exists("status_id", $filter)) { + if(!!in_array($this->me->id, ["145","62","56"]) && !array_key_exists("status_id", $filter)) { $termination_search["status_id"] = 3; }