@extends('Front.PatientLayout.mainLayout') @section('title', 'Profile') @section('content') {{-- {{ pre($Question) }} --}}

{{ __('dashboard.copd_checker') }}

@csrf @foreach ($Question as $k => $que) @php $k++; $lang = app()->getLocale(); $date = new Carbon\Carbon('31 days ago'); $month = $lang == 'en' ? $date->format('F') : GetMonthNameWelsh($date->format('F')); $que['question'] = str_replace('MONTHNAME', $month, $que['question']); $sub = array_key_last($Question) + 1; @endphp @endforeach
@endsection @section('js') @endsection