@php use App\Models\Account; @endphp @extends('layouts.main') @section('title', 'Rules of Engagement') @section('breadcrumb')

Rules of Engagement

@endsection @section('content') @php $days = [ '' => 'Select day', 'monday' => 'Monday', 'tuesday' => 'Tuesday', 'wednesday' => 'Wednesday', 'thursday' => 'Thursday', 'friday' => 'Friday', 'saturday' => 'Saturday', 'sunday' => 'Sunday', ]; @endphp
@include('flash::message')

Organizational Profiling

{{ csrf_field() }}
@if($account->logo) @else @endif
{!! Form::label('files', 'No file selected',['class' => 'control-label']) !!}
JPEG or PNG formats only. The maximum file size is 4Mb
{{ csrf_field() }}

CAD Information

Testing Windows

@if($account->accountServicePolicy->services ?? null)
@foreach($account->accountServicePolicy->services as $service)
@endforeach @else

No testing windows configured

@endif
@if($service = Auth::user()->getAllContractedServices()->where('short_name', 'MSS-EDR')->first()) @php $endpointProtectionResponse = $account->ruleEngagement->endpoint_protection_response ?? []; $MSSEDR = $endpointProtectionResponse[$service->id] ?? []; @endphp

Endpoint Protection Response

@if($account->id === Account::GLESEC_ACCOUNT_ID)
@endif @endif

Business Impact Constraints

@php $hoursAvoidTesting = old('hours_avoid_testing', $account->ruleEngagement->hours_avoid_testing ?? []); if (is_string($hoursAvoidTesting)) { $hoursAvoidTesting = json_decode($hoursAvoidTesting, true); } @endphp @if(!empty($hoursAvoidTesting)) @foreach($hoursAvoidTesting as $i => $entry)
{{-- --}}
@endforeach @endif
@endsection @section('scripts') @endsection