@extends('layouts.main_frontend') @php $ref_no = $name = $level = $description = $category = $category_description = ''; $subcategory = $subcategory_description = $impact_area = $risktype_description = $business_areas = ''; $unit = $comments = $control_type = $control_title = $control_description = ''; $control_comments = $status = $control_reference_code= ''; if(!empty(old('name'))){ $ref_no = old('ref_no'); $name = old('name'); $level = old('level'); $description = old('description'); $category = old('category'); $category_description = old('category_description'); $subcategory = old('subcategory'); $subcategory_description = old('subcategory_description'); $impact_area = old('impact_area'); $risktype_description = old('risktype_description'); $business_areas = old('business_areas'); $unit = old('unit'); $comments = old('comments'); $control_type = old('control_type'); $control_title = old('control_title'); $control_description = old('control_description'); $control_comments = old('control_comments'); $status = old('status'); $control_reference_code = old('control_reference_code'); } @endphp @section('title','RCSA - Add Risk') @section('main-content') @csrf Add New Risk {{ implode(',', $errors->all()) }} Risk Ref No. * {!! $errors->first('reference_no', ':message') !!} Risk Event Name * {!! $errors->first('name', ':message') !!} Risk Level * Select Risk Level @foreach($levels as $id=>$name) {{$name}} @endforeach {!! $errors->first('level', ':message') !!} Description * {{$description}} {!! $errors->first('description', ':message') !!} Categorization Risk Category * Select Risk Category {!! $errors->first('category', ':message') !!} Others (Note: This required if above field value is Others.) {{$category_description}} {!! $errors->first('category_description', ':message') !!} Risk Sub Category * Select Risk Sub Category {!! $errors->first('subcategory', ':message') !!} Others (Note: This required if above field value is Others.) {{$subcategory_description}} {!! $errors->first('subcategory_description', ':message') !!} Type of Risk * @foreach($impact_areas as $id=>$name) {{$name}} @endforeach {!! $errors->first('impact_area', ':message') !!} Others (Note: This required if above field value is Others.) {{$risktype_description}} {!! $errors->first('risktype_description', ':message') !!} Business Areas Impacted * @if($business_units) @foreach($business_units as $id=>$name) {{$name}} @endforeach @endif {!! $errors->first('unit_impact', ':message') !!} Ownership Details Select Owner * Select Owner Name @if($organizationUnit) @foreach($organizationUnit as $key => $val) id ? 'selected' : '' }}>{{$val->name}} @endforeach @endif {!! $errors->first('owner_id', ':message') !!} Owner Organization * {!! $errors->first('organization_id', ':message') !!} Department / Business Entity / Process * {!! $errors->first('unit_id', ':message') !!} Comments {{$comments}} {!! $errors->first('comments', ':message') !!} Upload Supporting Documents Supports : pdf / word / excel / jpg {!! $errors->first('risk_files', ':message') !!} Cancel Next Add Control Control Reference Code * {!! $errors->first('control_ref_code.*', ':message') !!} Business Unit * {!! $errors->first('business_unit_id.*', ':message') !!} Type * Local Global {!! $errors->first('control_type[]', ':message') !!} Control Title * {!! $errors->first('control_title.*', ':message') !!} Control Detail * {{old('control_description.0')}} {!! $errors->first('control_description.*', ':message') !!} Comments {{$control_comments}} {!! $errors->first('control_comments', ':message') !!} Additional Details Upload Documents Supports : pdf / word / excel / jpg {!! $errors->first('control_files', ':message') !!}
:message
Supports : pdf / word / excel / jpg
Local
Global