@extends('front.layout.master') @section('content') @php $patient_responsibilities = App\Models\Block::where('block_name', 'patient_responsibilities')->where('page_name', 'patient-rights-responsibilities')->with('items')->first(); $patient_rights = App\Models\Block::where('block_name', 'patient_rights')->where('page_name', 'patient-rights-responsibilities')->with('items')->first(); @endphp {{ __('generic.Patient & Family Rights') }} @php $rightsToShow = $patient_rights->items->take(5); @endphp @foreach ($rightsToShow as $item) {{ $item->title }} @endforeach @if($patient_rights->items->count() > 5) {{ __('generic.View All') }} @endif × {{ __('generic.Patient & Family Rights') }} @foreach ($patient_rights->items as $item) {{ $item->title }} @endforeach @push('scripts') @endpush {{ __('generic.Patient & Family Responsibilities') }} @php $responsibilitiesToShow = $patient_responsibilities->items->take(7); @endphp @foreach ($responsibilitiesToShow as $responsibility) {{ $responsibility->title }} @endforeach @if($patient_responsibilities->items->count() > 5) {{ __('generic.View All') }} @endif × {{ __('generic.Patient & Family Responsibilities') }} @foreach ($patient_responsibilities->items as $responsibility) {{ $responsibility->title }} @endforeach @push('scripts') @endpush {{ __('generic.Ready to Start Your Patient Journey with Us?') }} {{ __('generic.Our dedicated team is here to provide you with compassionate, comprehensive care. Schedule your appointment today.') }} {{ __('generic.Book Your Appointment Now') }} @endsection
{{ $item->title }}
{{ $responsibility->title }}
{{ __('generic.Our dedicated team is here to provide you with compassionate, comprehensive care. Schedule your appointment today.') }}