@extends('Front.PatientLayout.mainLayout') @section('title', 'Profile') @section('css') @endsection @section('content') {{-- {{pre($abcArray)}} --}} @php $bgColor = $abcArray['overview_data']['0']['color']; if ($bgColor == 'RED') { $bg = '#B66263'; } elseif ($bgColor == 'GREY') { $bg = '#919090'; } elseif ($bgColor == 'GREEN') { $bg = '#3cb371'; } elseif ($bgColor == 'AMBER') { $bg = '#EA6222'; } @endphp
{{ $abcArray['overview_data']['0']['comment'] }}
{{ __('dashboard.last_updated') }}:
@php $displayDate = date('dS F Y', strtotime($abcArray['overview_data']['0']['date'])); $date = date('F', strtotime($abcArray['overview_data']['0']['date'])); switch ($date) { case 'January': $month = __('dashboard.January'); break; case 'February': $month = __('dashboard.February'); break; case 'March': $month = __('dashboard.March'); break; case 'April': $month = __('dashboard.April'); break; case 'May': $month = __('dashboard.May'); break; case 'June': $month = __('dashboard.June'); break; case 'July': $month = __('dashboard.July'); break; case 'August': $month = __('dashboard.August'); break; case 'September': $month = __('dashboard.September'); break; case 'October': $month = __('dashboard.October'); break; case 'November': $month = __('dashboard.November'); break; case 'December': $month = __('dashboard.December'); break; default: $month = __('dashboard.no_data'); break; } $newDate = str_replace($date, $month, $displayDate); @endphp{{ $abcArray['asthma_checker_comment']['0']['comment'] }}
{{ $question['comment'] }}