@extends('layouts.main_frontend') @php $unit = @$units[$event->unit_id]; $incident_desc = $event->description_text ?? ''; $risk_category = @$risk_categories[$event->risk_category_id]; $risk_subcategory = @$risk_subcategories[$event->risk_subcategory_id]; $risk_level = @$risk_levels[$event->risk_level_id]; $estimated_loss = $event->estimated_loss ?? ''; $first_date= $event->first_occurence_date ? date('d-m-Y',strtotime($event->first_occurence_date)) : ''; $last_date=date('d-m-Y',strtotime($event->last_occurence_date)); $discovery_date = date('d-m-Y',strtotime($event->discovery_date)); $closure_date = date('d-m-Y',strtotime($event->closure_date)); $impact_date = date('d-m-Y',strtotime($event->financial_impact_date)); $settlement_date = date('d-m-Y',strtotime($event->settlement_date)); $root_cause = $event->root_cause; $customer_impact = $event->customer_impact; $incident_cause = $event->potential_cause; $reported = $event->reported; $remedy=$event->suggested_remedy; $comments=$event->comments; $status=$event->status; @endphp @section('title','RCSA - View Loss Event') @section('main-content') @csrf Edit Loss Event Basic Loss even Info Organization Name Department Name / Business Entity Name / Process @if($unitType) @foreach($unitType as $key => $val) unit_id : old('name')) == $val['id'] ? 'selected' : '' }}>{{ $val['name'] }} @endforeach @endif Loss Event Reference Number Description of the Incident {{ $event->description ?? '' }} Actual or Estimated Loss Due to Incident (Note: Currency Type {{$organization->currencies->code ?? 'INR'}} ) Risk Reference Number Select Risk Reference Number @if($risks) @foreach($risks as $key => $val) risk_reference_number : old('risk_reference_number')) == $val->reference_no ? 'selected' : '' }}>{{ $val->reference_no }} @endforeach @endif Risk Event Name Key Risk Level Relation Key Risk Category Relation Key Risk Sub Category Relation Key Dates First Date of Occurence Last Date of Occurence Date of Discovery Date of Settlement Date of Financial Impact Expected Closure Date Root Cause Root Cause Did it have customer Impact customer_impact==='y') ? checked : '' @endif /> Yes customer_impact==='n') ? checked : '' @endif /> No Was it Reported Internally/Externally reported==='e') ? checked : '' @endif /> External reported==='i') ? checked : '' @endif /> Internal Potential Cause of the Incident Suggested Remedy to Prevent Recurrence Comments {{ $event->comments ?? old('comments') }} @if(isset($event['files'][0]->file_name)) Uploaded Documents @if($event['files'][0]->mime=='jpg') @else @endif {{ basename($event['files'][0]->file_name) }} {{ formatSizeUnits($event['files'][0]->id) }} @endif Loss Event Status status==='o') ? checked : '' @endif /> Open status==='c') ? checked : '' @endif /> Close Cancel Draft @if(!empty($riskList)) Submit @endif @endsection @section('additionaljs') @endsection
Yes
No
External
Internal
{{ basename($event['files'][0]->file_name) }}
Open
Close