@extends('layouts.app') @section('page_css') @parent @endsection @section('header_scripts') @parent @endsection @section('content')
Shared Startups
@if(@$has_rights['add']) Add New @endif
@foreach($shared_startups as $_shared_startups) @php $doc_name = $_shared_startups["name"]; $field_type = $_shared_startups["field_type"]; $doc_type = $_shared_startups["doc_type"]; $url_type = $_shared_startups["url_type"]; $doc_details = $_shared_startups["details"] ? $_shared_startups["details"] : "--"; $file_name = $_shared_startups["file_name"] ? $_shared_startups["file_name"] : ""; $programsArr = $_shared_startups["programs"] ?? []; @endphp @endforeach
Name Category Sub Category Assigned Programs Details Action
{{ $_shared_startups["name"] }} {{ $_shared_startups["cat_name"] }} {{ $_shared_startups["sub_cat_name"] }}
    @foreach($programsArr as $program_id => $program_name)
  • {{ $program_name }}
  • @endforeach
@if( $doc_details != '' && strlen($doc_details) > 25) {!! substr($doc_details,0,25) !!} Read More @else {{$doc_details}} @endif
@if(@$has_rights['edit']) @endif @if(@$has_rights['delete']) @endif @if(@$has_rights['view_detail']) @if($field_type == 'file_upload') @if($doc_type == 'video') @elseif($doc_type == 'other') @endif @elseif($field_type == 'url') @php $doc_url = "javascript:void(0);"; $target = "" ; if($_shared_startups["url"]) { $doc_url = $_shared_startups["url"]; $target = "_blank"; } @endphp @if($url_type == 'youtube_link' ) @elseif($url_type == 'other') @endif @endif @endif
@endsection @section('modals') @parent @endsection @section('page_scripts') @parent @endsection