@extends('layout.app') @section('title') {{$service->name}} @endsection @section('content')

{{$service->name}}

@php $service_sections = $service->service_sections()->orderby('order_by','asc')->get(); @endphp @if($service_sections->count() > 0)
Skill Assessment

{{$service_sections->first()->title}}

{{$service_sections->first()->description}}

    @foreach($service_sections->first()->service_section_point() as $service_section_point)
  • {{$service_section_point->point}}
  • @endforeach
@if($service_sections->count() > 1) @php $second_service = $service_sections[1];@endphp

{{$service->name}}

{{$second_service->title}}

{{$second_service->description}}

Book An Appointment
@endif @if($service_sections->count() > 2) @php $third_service = $service_sections[2];@endphp
Skill Assessment

{{$third_service->title}}

{{$third_service->description}}

    @foreach($third_service->service_section_point() as $section_point)
  • {{$section_point->point}}
  • @endforeach
@endif @endif @endsection