@extends('layouts.adminApp') @section('title', 'Site Updation || Heritage In Khulna') @section('external_css') @endsection @section('content')

Heritage Informaton Updation

{{--

Fill all form field to go to next step

--}}
@csrf
  • Basic Info
  • Condition & Problems
  • Integrity & Intervension
  • Survey
  • Plans & Actions
  • Budget & Fund
  • Maintenance
  • Documents
  • Others
  • Finish

Basic Site Info:

Step 1 - 11

@if($site->thumbnail) Thumbnail @endif
@if($site->banner) Banner @endif

Condition:

Step 2 - 11

Problems:

Integrity:

Step 3 - 11

Intervension:

Survey:

Step 4 - 11

@if(!empty($site->initial_survey))

{{ $site->initial_survey }}

@endif
@if(!empty($site->monitoring_reporting))

{{ $site->monitoring_reporting }}

@endif

Plans:

Step 5 - 11

@if(!empty($site->planning_action))

{{ $site->planning_action }}

@endif
@if(!empty($site->annual_plan))

{{ $site->annual_plan }}

@endif
@if(!empty($site->master_plan))

{{ $site->master_plan }}

@endif

Actions:

@if(!empty($site->execution_work))

{{ $site->execution_work }}

@endif

Budget:

Step 6 - 11

Fund:

@if(!empty($site->technical_assistance))

{{ $site->technical_assistance }}

@endif

Maintenance:

Step 7 - 11

{{-- @if(!empty($site->inventory))

{{ $site->inventory }}

@endif --}}

Documents:

Step 8 - 11

Selected Files
Existing Files

@foreach(explode(',', $site->publication ?? '') as $publication) @if($publication) @php $extension = pathinfo($publication, PATHINFO_EXTENSION); $filename = basename($publication); $filenameWithoutExt = pathinfo($filename, PATHINFO_FILENAME); @endphp
@if(in_array(strtolower($extension), ['jpg', 'jpeg', 'png', 'gif', 'bmp', 'webp'])) Image Preview @elseif(strtolower($extension) == 'pdf') {{ $filename }} @else {{ $filename }} @endif
@endif @endforeach

Publications Text:
Selected Files
Existing Files

@foreach(explode(',', $site->archives ?? '') as $archive) @if($archive) @php $extension = pathinfo($archive, PATHINFO_EXTENSION); $filename = basename($archive); $filenameWithoutExt = pathinfo($filename, PATHINFO_FILENAME); @endphp
@if(in_array(strtolower($extension), ['jpg', 'jpeg', 'png', 'gif', 'bmp', 'webp'])) Image Preview @elseif(strtolower($extension) == 'pdf') {{ $filenameWithoutExt }} @else {{ $filenameWithoutExt }} @endif
@endif @endforeach

Archives Text:
Selected Files
Existing Files

@foreach(explode(',', $site->documentory ?? '') as $doc) @if($doc) @php $extension = pathinfo($doc, PATHINFO_EXTENSION); $filename = basename($doc); $filenameWithoutExt = pathinfo($filename, PATHINFO_FILENAME); @endphp
@if(in_array(strtolower($extension), ['jpg', 'jpeg', 'png', 'gif', 'bmp', 'webp'])) Image Preview @elseif(strtolower($extension) == 'pdf') {{ $filenameWithoutExt }} @else {{ $filenameWithoutExt }} @endif
@endif @endforeach

Documentary Text:

Others:

Step 9 - 11

Site Gallery:

Step 10 - 11

Selected Files
SL No Preview File Name Caption Action

Existing Images
@foreach ($medias as $index => $media) @if ($media->file_type == 'image') @endif @endforeach
S. No Preview File Name Caption Delete
{{ $index + 1 }} Uploaded Image {{ basename($media->file_path) }}

Finish:

Step 11 - 11



SUCCESS !




Successfully Edited A Site.
@endsection @section('external_js') @endsection