@extends('layouts.site') @section('content')

{{$data->user->name}}

{{ trans('home.serial-number') }}

{{ $planData->serial_number }}

{{ trans('home.client-name') }}

{{$data->user->name }}

{{ trans('home.age') }}

{{ $planData->age }}

{{ trans('home.gender') }}

{{ $planData->gender == 1 ? trans('home.male') : trans('home.female') }}

{{ trans('home.Problem Type') }}

@if($planData->problem == 1) {{trans('home.Marital-and-Family-Problems')}} @elseif($planData->problem == 2) {{trans('home.Marital-Rehabilitation')}} @elseif($planData->problem == 3) {{trans('home.Sexual-Therapy')}} @elseif($planData->problem == 4) {{trans('home.Post-Divorce-Rehabilitation')}} @elseif($planData->problem == 5) {{trans('home.Recovery-from-Divorce')}} @elseif($planData->problem == 6) {{trans('home.Children-Mental-Disorders')}} @elseif($planData->problem == 7) {{trans('home.Children-Problems')}} @elseif($planData->problem == 8) {{trans('home.Adolescent-Mental-Disorders')}} @elseif($planData->problem == 9) {{trans('home.Adolescent-Problems')}} @else {{trans('home.Other')}} @endif

{{ trans('home.problem_description') }}

{{ $planData->problem_description }}

{{ trans('home.diagnostic') }}

{{--@if($planData->diagnostic == 1)
@if($planData->diagnostic == 1) {{trans('home.Underachievement')}} @elseif($planData->diagnostic == 2) {{trans('home.Disorganized-in-Assignments')}} @elseif($planData->diagnostic == 3) {{trans('home.academic-procrastination')}} @elseif($planData->diagnostic == 4) {{trans('home.Lack-of-clarity-of-objectives')}} @elseif($planData->diagnostic == 5) {{trans('home.Generalized-Anxiety')}} @elseif($planData->diagnostic == 6) {{trans('home.OCD')}} @elseif($planData->diagnostic == 7) {{trans('home.Conduct-disorder')}} @elseif($planData->diagnostic == 8) {{trans('home.Enuresis')}} @elseif($planData->diagnostic == 9) {{trans('home.Panic-Attack')}} @elseif($planData->diagnostic == 10) {{trans('home.Smoking')}} @elseif($planData->diagnostic == 11) {{trans('home.Family-conflict')}} @elseif($planData->diagnostic == 12) {{trans('home.Academic-and-Psychological-Stress')}} @elseif($planData->diagnostic == 13) {{trans('home.Depression')}} @elseif($planData->diagnostic == 14) {{trans('home.Bipolar-disorder')}} @elseif($planData->diagnostic == 15) {{trans('home.Social-Phobia')}} @elseif($planData->diagnostic == 16) {{trans('home.Test-Anxiety')}} @elseif($planData->diagnostic == 17) {{trans('home.Substance-Abuse')}} @elseif($planData->diagnostic == 18) {{trans('home.Sexual-disorders')}} @elseif($planData->diagnostic == 19) {{trans('home.Borderline-personality-disorder')}} @elseif($planData->diagnostic == 20) {{trans('home.Insomnia')}} @else {{trans('home.Other')}} @endif--}} @foreach(\App\Diagnosis::whereIn('id',\App\TreatmentPlansDiagnosis::where('treatment_plan_id',$planData->id)->pluck('diagnosis_id')->toArray())->pluck('title_'.config('app.locale'))->toArray() as $diag) {{ $diag }}, @endforeach

{{ trans('home.therap_evaluation') }}

@if($planData->therap_evaluation == 1) {{trans('home.BASIC-ID')}} @elseif($planData->therap_evaluation == 2) {{trans('home.Holland-Test-for-Career-Tendencies')}} @elseif($planData->therap_evaluation == 3) {{trans('home.Beck-Depression-Inventory')}} @elseif($planData->therap_evaluation == 4) {{trans('home.EPQ')}} @elseif($planData->therap_evaluation == 5) {{trans('home.Yale–Brown-Y-BOCS')}} @elseif($planData->therap_evaluation == 6) {{trans('home.Family-Readiness-Scale')}} @elseif($planData->therap_evaluation == 7) {{trans('home.Taylor-manifest-anxiety-scale')}} @elseif($planData->therap_evaluation == 8) {{trans('home.Adolescent-Identity-Crisis-Scale')}} @elseif($planData->therap_evaluation == 9) {{trans('home.Domestic-Violence-Scale')}} @elseif($planData->therap_evaluation == 10) {{trans('home.Parenting-Style-Scale')}} @elseif($planData->therap_evaluation == 11) {{trans('home.Sexual-Orientation-Scale')}} @else {{trans('home.Other')}} @endif

{{trans('home.previous-sessions')}}

@foreach($sessionsAttend as $session_attend) @endforeach
{{trans('home.session-number')}} {{trans('home.date-time')}} {{trans('home.period')}} {{trans('home.attend')}}
{{ $session_attend->id }} {{ date('Y-m-d H:i:s', strtotime($session_attend->start_time)) }} {{ $session_attend->type }} @if($session_attend->attend==1) @endif

{{ trans('home.short-term') }}

{{ $planData->long_term }}

{{ trans('home.long-term') }}

{{ $planData->short_term }}

{{ trans('home.therapeutic_intervention') }}

{{--@if($planData->therapeutic_intervention == 1) {{trans('home.CBT')}} @elseif($planData->therapeutic_intervention == 2) {{trans('home.Behavioural-Therapy')}} @elseif($planData->therapeutic_intervention == 3) {{trans('home.Person-centered-therapy')}} @elseif($planData->therapeutic_intervention == 4) {{trans('home.Reality-Therapy')}} @elseif($planData->therapeutic_intervention == 5) {{trans('home.Multimodal-Therapy')}} @elseif($planData->therapeutic_intervention == 6) {{trans('home.Solution-focused-brief-therapy-(SFBT)')}} @elseif($planData->therapeutic_intervention == 7) {{trans('home.DBT')}} @elseif($planData->therapeutic_intervention == 8) {{trans('home.logo-therapy')}} @elseif($planData->therapeutic_intervention == 9) {{trans('home.Expressive-therapy')}} @elseif($planData->therapeutic_intervention == 10) {{trans('home.Psychoeducation')}} @elseif($planData->therapeutic_intervention == 11) {{trans('home.Gestalt-therapy')}} @elseif($planData->therapeutic_intervention == 12) {{trans('home.Acceptance-and-commitment-therapy-(ACT)')}} @elseif($planData->therapeutic_intervention == 13) {{trans('home.EMDR')}} @else {{trans('home.Other')}} @endif--}} @foreach(\App\Treatments::whereIn('id',\App\TreatmentPlansTreatments::where('treatment_plan_id',$planData->id)->pluck('treatments_id')->toArray())->pluck('title_'.config('app.locale'))->toArray() as $diag) {{ $diag }}, @endforeach

{{ trans('home.transfer') }}

@if($planData->transfer == 1) {{trans('home.no-transfer')}} @elseif($planData->transfer == 2) {{trans('home.clinical-psychologist')}} @else {{trans('home.psychiatrist')}} @endif

{{ trans('home.current_status') }}

{{ $planData->current_status == 1 ? trans('home.in-progress') : trans('home.closed') }}

{{ trans('home.last_visit') }}

{{ $planData->last_visit }}

الواجبات

{{ $planData->homework }}
@endsection @push('downloadPDF') @endpush