@extends('adminlte::page') @section('title', __('adminlte::backend.OpportunityDetail')) @section('content_header') @include('backend.opportunities.details._header', ['threat' => $threat]) @include('backend.opportunities.details._summary', ['threat' => $threat]) @endsection @section('content') @php $disabled = ''; if ($latestApprovalRequest && $latestApprovalRequest->status == 'Pending') { $disabled = 'disabled'; } if($disabled == ''){ $disabled = (!auth()->user()->hasRole('Admin') && $threat->overall_status =='Cancelled' ) ? 'disabled' : ''; } @endphp @if ($ableToEdit)
@if ((Auth::user()->role == \App\Models\User::$user_types_names['Admin'] || Auth::user()->id == $threat->owner_id ) && $latestApprovalRequest && $latestApprovalRequest->status == 'Pending') @endif @if ($showAdvanceButton) @endif
@endif @if ( $isApprover && $isApprovalRequestOfCurrentUser )

Approver Actions

@endif @include('backend.opportunities.details._ranking', [ 'threat' => $threat, ])
@include('backend.opportunities.details._tab_details', [ 'threat' => $threat, 'details' => $details, ])
@include('backend.opportunities.details._tab_additional', ['threat' => $threat])
@include('backend.my_approvals.modals-myapprovals', ['threat' => $threat]) @endsection @push('js') @endpush