@extends('layouts.main_layout') @section('title','RCSA - Edit Document Form') @section('main-content') Edit RCSA Document @csrf @method('PUT') Organization Name Level of RCSA Document * organization_level==='Organizational' || $model->organization_level==='organizational') ? checked : '' @endif /> Organizational organization_level==='Departmental' || $model->organization_level==='departmental') ? checked : '' @endif/> Departmental Department Name / Business Entity Name / Process * Select Department Name / Business Entity Name / Process @if($units) @foreach($units as $key => $val) unit_id : old('unit_id')) == $val->id ? 'selected' : '' }}>{{ $val->name }} @endforeach @endif RCSA Reference Number @if($getRcsaDetails) @foreach($getRcsaDetails as $key => $val) rcsa_reference_num == $val->rcsa_reference_num ? 'selected' : '' }} data-id="{{$val->rcsa_from_date }}">{{ $val->rcsa_reference_num }} @endforeach @endif {{-- RCSA Reference Number * --}} Date of RCSA * Upload the Document* Supports : pdf / word / excel / jpg @if($errors->has('documents')) {{ $errors->first('documents') }} @endif Uploaded Files @if(isset($model->file_path)) @if($model->file_type=='jpg') @else @endif {{ basename($model->file_path) }} {{ formatSizeUnits($model->file_size) }} @endif Save @endsection @section('additionaljs')
Organizational
Departmental
Supports : pdf / word / excel / jpg
{{ basename($model->file_path) }}