@include('Partials.sidebar') @include('Partials.header') @if ($errors->any()) @foreach ($errors->all() as $error) {{ $error }} @endforeach @endif Investor Relation Section Investor Relation Section Form @csrf First Tab Title: Second Tab Title: Investor Relation First Cards: @php $slideContents = json_decode($investorsRelation->first_tab_details, true); @endphp @if (!empty($slideContents) && count($slideContents) > 0) @foreach ($slideContents as $index => $slides_content) Card Title: Date: PDF File {{ isset($slides_content['file']) ? asset($slides_content['file']) : '' }} Choose File Remove Card @endforeach @else Card Title: Date: PDF File Choose File Remove Card @endif Add New Card Investor Relation Second Cards: @php $secondTabContents = json_decode($investorsRelation->second_tab_details, true); @endphp @if (!empty($secondTabContents) && count($secondTabContents) > 0) @foreach ($secondTabContents as $secondindex => $secondTabContent) Card Title: Date: PDF File {{ isset($secondTabContent['file_1']) ? asset($secondTabContent['file_1']) : '' }} Choose File Remove Card @endforeach @else Card Title: Date: PDF File Choose File Remove Card @endif Add New Card {{ isset($investorsRelation) ? 'Update' : 'Submit' }} @include('Partials.footer')