@extends('Front.PatientLayout.mainLayout') @section('title', 'My Copd Plan') @section('content') {{-- {{pre($data)}} --}}

{{ __('mycopdplanview.medication_title') }}

{!! __('mycopdplanview.medication_sub_title') !!}

{{ __('mycopdplanview.short-acting') }}

@forelse ($data['therapy']['short_therapy'] as $key=> $shortTh) {{-- {{pre($shortTh)}} --}} @if ($shortTh['therapy_ID'] == 'none')
{{ __('mycopdplanview.no_data') }}
@else
@if (!empty($shortTh['medication_image'][0])) Logo @endif
{{ $shortTh['medication_name'] }}

{{ $shortTh['number_of_dose'] . ' ' . $shortTh['medication_unit'] . ' ' . $shortTh['frequency_name'] . ' ' . $shortTh['take_medication'] }}

@endif @empty
{{ __('mycopdplanview.no_data') }}
@endforelse

{{ __('mycopdplanview.long-acting') }}

@forelse ($data['therapy']['long_therapy'] as $key=> $shortTh) {{-- {{pre($shortTh)}} --}} @if ($shortTh['therapy_ID'] == 'none')
{{ __('mycopdplanview.no_data') }}
@else
@if (!empty($shortTh['medication_image'][0])) Logo @endif
{{ $shortTh['medication_name'] }}

{{ $shortTh['number_of_dose'] . ' ' . $shortTh['medication_unit'] . ' ' . $shortTh['frequency_name'] . ' ' . $shortTh['take_medication'] }}

@endif @empty
{{ __('mycopdplanview.no_data') }}
@endforelse

{{ __('mycopdplanview.other') }}

@forelse ($data['therapy']['other'] as $key=> $shortTh) {{-- {{pre($shortTh)}} --}} @if ($shortTh['therapy_ID'] == 'none')
{{ __('mycopdplanview.no_data') }}
@else
@if (!empty($shortTh['medication_image'][0])) Logo @endif
{{ $shortTh['medication_name'] }}

{{ $shortTh['number_of_dose'] . ' ' . $shortTh['medication_unit'] . ' ' . $shortTh['frequency_name'] . ' ' . $shortTh['take_medication'] }}

@endif @empty
{{ __('mycopdplanview.no_data') }}
@endforelse
@endsection