@if($case->stage_id or in_array($case->type_of_case_id, \App\Models\CasesInfo\Stage::caseTypesInvolved()))
{!! Form::label('stage_id', 'Stage Machine*:',['class' => 'col-sm-2 control-label']) !!}
@if($case->stage and $case->stage->isNextSkywatch()) @else {!! Form::select('stage_id', \App\Models\CasesInfo\Stage::getList($case->type_of_case_id), null, [ 'class' => 'form-control', 'disabled' => 'disabled' ]) !!} @endif
@endif
{!! Form::label('status', 'Status*:',['class' => 'col-md-12 control-label']) !!}
{!! Form::select('status', \App\Models\Cases::$statuses, null, ['class' => 'standards_id_input form-control']) !!}
{!! Form::label('priority', 'Priority*:',['class' => 'col-md-12 control-label']) !!}
{!! Form::select('priority', \App\Models\Cases::$priority, null, ['class' => 'standards_id_input form-control']) !!}
@include('cases.file-upload')
@if(\App\Models\GmpRoles::canSeeLink(\App\Models\GmpRoles::MANAGEMENT_REQUEST_FORM)) {!! \App\Models\ChangeManagementForm::getRelatedCaseForm($case->id,true) !!} @endif
{!! Form::label('note', 'Add Comment:',['class' => 'col-md-2 control-label']) !!}
{!! Form::textarea('note', null, ['placeholder'=>'Drop a description of important information related to the case that may be important for others to know','class' => 'form-control']) !!}
@if(\App\Models\GmpRoles::canSeeLink(\App\Models\GmpRoles::CASES_CONTROL))
{!! Form::label('assignees', 'Assigned To:',['class' => 'col-md-12 control-label']) !!}
{!! Form::select('assignees[]', account()->getUsers('list'), $case->skywatchAssignees, ['id'=>'assignees','multiple'=>'multiple','class' => 'standards_id_input form-control']) !!}
{!! Form::label('control', 'Control:',['class' => 'col-sm-12 control-label']) !!}
control=='Client') checked="checked" @endif id="customRadio1" name="control" class="custom-control-input">
control!='Client') checked="checked" @endif value="Glesec" name="control" class="custom-control-input">
@endif
{!! Form::submit('Save', ['class' => 'btn btn-primary']) !!} Cancel
@section('scripts') @endsection