Create Due Diligence Process

Set up Due Diligence requirements for approved proposals

@if (session()->has('message'))
{{ session('message') }}
@endif @if (session()->has('error'))
{{ session('error') }}
@endif
@if($proposal)

{{ $proposal->title }}

Client: {{ $proposal->client_name }}

Amount: ${{ number_format($proposal->amount, 2) }}

@else @endif @error('proposal_id') {{ $message }} @enderror
@foreach($departments as $key => $name) @endforeach
@error('selectedDepartments') {{ $message }} @enderror
@if(!empty($selectedDepartments))

Question Setup

@if($useQuestionGroups) Using predefined question groups for faster setup. You can still add custom questions to each department. @else Using individual template selection. All templates for selected departments will be included. @endif

@endif @if($useQuestionGroups && !empty($selectedDepartments)) @foreach($selectedDepartments as $department) @if(isset($questionGroups[$department]) && count($questionGroups[$department]) > 0)

{{ $departments[$department] }} - Question Groups

@foreach($questionGroups[$department] as $group) @endforeach
@if(!isset($selectedQuestionGroups[$department]) || empty($selectedQuestionGroups[$department]))

⚠️ No question groups selected for {{ $departments[$department] }}. All department templates will be included by default.

@endif
@else

{{ $departments[$department] }} - Question Groups

No question groups available for {{ $departments[$department] }}. All department templates will be included.

@endif @endforeach @endif @foreach($selectedDepartments as $department)

{{ $departments[$department] }} - Additional Custom Questions

@if(isset($customQuestions[$department]) && count($customQuestions[$department]) > 0) @foreach($customQuestions[$department] as $index => $question)
@endforeach @else
No custom questions added. @if($useQuestionGroups) Questions from selected groups will be included automatically. @else All department templates will be included automatically. @endif
@endif
@endforeach

Leave blank for no expiry

@error('expires_at') {{ $message }} @enderror
@error('notes') {{ $message }} @enderror
Cancel