fix: allow toggling test isRequestable flag
This commit is contained in:
parent
76c528564c
commit
51fa8c1949
@ -161,6 +161,7 @@ class TestsController extends BaseController
|
||||
'isVisibleScr' => $input['isVisibleScr'] ?? 1,
|
||||
'isVisibleRpt' => $input['isVisibleRpt'] ?? 1,
|
||||
'isCountStat' => $input['isCountStat'] ?? 1,
|
||||
'isRequestable' => $input['isRequestable'] ?? 1,
|
||||
'StartDate' => $input['StartDate'] ?? date('Y-m-d H:i:s'),
|
||||
];
|
||||
|
||||
@ -248,11 +249,12 @@ class TestsController extends BaseController
|
||||
'SeqRpt',
|
||||
'IndentLeft',
|
||||
'FontStyle',
|
||||
'isVisibleScr',
|
||||
'isVisibleRpt',
|
||||
'isCountStat',
|
||||
'StartDate',
|
||||
];
|
||||
'isVisibleScr',
|
||||
'isVisibleRpt',
|
||||
'isCountStat',
|
||||
'isRequestable',
|
||||
'StartDate',
|
||||
];
|
||||
|
||||
foreach ($allowedUpdateFields as $field) {
|
||||
if (isset($input[$field])) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user