@extends('Frontend.partials.layout') @section('styles') @endsection @section('content')
@if (empty($cron->selecteduser->photo)) Profile Image @else @endif
@php $open_treat_count = 0; foreach ($cron->cronsetuptimes as $cronsetup_time) { if ($cronsetup_time->email_open_status == 1) { $open_treat_count++; } } @endphp

{{ $open_treat_count }}/{{ $cron->cronsetuptimes->count() }}

{{ trans('action.open_treatment') }}

{{ trans('action.treatment_list') }}

@forelse($remaining_crons as $key => $cron_time) email_open_status == 1) ? 'class=opend-treat' : "" }}> @empty @endforelse
{{ trans('action.sno') }} {{ trans('action.start_date') }} {{ trans('action.start_time_cron_view') }} {{ trans('action.end_time_cron_view') }} {{ trans('action.run_time_cron_view') }} {{ trans('action.action') }}
{{ $loop->iteration }} {{ date_change($cron_time->start_time) }} {{ date('H:i', strtotime($cron_time->start_time)) }} {{ date('H:i', strtotime($cron_time->end_time)) }} {{ Carbon\Carbon::parse($cron_time->start_time)->diff(Carbon\Carbon::parse($cron_time->end_time))->format('%h h %i m %s s') }} @php $timeDifference = Carbon\Carbon::parse($cron_time->start_time)->diff(Carbon\Carbon::parse($cron_time->end_time)); @endphp @if($timeDifference->h === 0 && $timeDifference->i === 0 && $timeDifference->s === 0) {{ trans('action.no_treatment_needed') }} @else @if(Carbon\Carbon::parse($cron_time->start_time)->isSameDay(Carbon\Carbon::now())) cronsetup_id.'/'.$cron_time->id.'/'.$cron->unique_id) }}' class='mr-2 treat-play-btn' target='_blank'> @endif @php $pdf_url = url('treatment/view_pdf/'.$cron->selecteduser->id.'/'.$cron_time->cronsetup_id.'/'.$cron_time->id.'/'.$cron->unique_id); @endphp @endif
{{ trans('action.no_data_found') }}

{{ trans('action.therapist_info') }}

{{-- Profile Image --}} Profile Image
{{-- @if(!empty($cron->client_note)) --}}

{{ trans('action.cron_note_header') }}

{!! $cron->client_note !!}
{{-- @endif --}}
@endsection @section('scripts') @endsection