Title
*
Description
*
{!! getValueInput($data,'description') !!}
Select Type
*
@foreach(\App\Enums\CourseMasterType::getAll() as $item)
type ? 'selected' : ''}}>{{$item['display']}}
@endforeach
Select Clients
*
@foreach($clients as $item)
{{$item['client_org_name']}}
@endforeach
Cost Price
*
Cost of the test series(B2C)
*
Selling Price
*
Selling Cost(B2C)
*
Validity
*
@include('common.lfm', [ 'type' => 'image', 'name' => 'Image', 'input' => 'image', 'required' => true, 'file' => $data->image ?? null, ])
@if(old('section') != null) @php $i = 0 @endphp @foreach(old('section') as $oldData)
{{$content_name}}
@if(count($dataContent) > 0) @foreach($dataContent as $e)
{{$e['title']}}
@endforeach @endif
@php $i++ @endphp @endforeach @else @if(!empty($data->section_content) && count($data->section_content)) @php $i = 0 @endphp @foreach($data->section_content as $section)
{{$content_name}}
@if(count($dataContent) > 0) @php $content = json_decode($section->content,true); $content = is_array($content) ? $content : []; @endphp @foreach($content as $keyMap) @if(array_key_exists($keyMap,$dataContent))
{{$dataContent[$keyMap]['title']}}
@endif @endforeach @foreach($dataContent as $e) @if(!in_array($e['value'],$content))
{{$e['title']}}
@endif @endforeach @endif
@php $i++ @endphp @endforeach @else
{{$content_name}}
@if(count($dataContent) > 0) @foreach($dataContent as $e)
{{$e['title']}}
@endforeach @endif
@endif @endif