Create Workorder button in Preorder/Index now always visible for admins

This commit is contained in:
Frank Schubert
2024-11-19 15:25:44 +01:00
parent 25f2452f02
commit 77f37fbc27
4 changed files with 10 additions and 5 deletions

View File

@@ -1289,7 +1289,10 @@ class PreorderController extends mfBaseController {
return false;
}
if($preorder->type != "legacytransfer") {
/*if($preorder->type != "legacytransfer") {
return false;
}*/
if(!$this->me->is("Admin")) {
return false;
}