@extends('layouts.master') @section('title', $patient->first_name . ' ' . $patient->second_name . ' | Alboosh - Timeless authenticity, born of the desert') @section('title-topbar', __('patientappo.patient profile')) @section('css') @endsection @section('fixedcontent') @if (Session::has('success'))

Done

{{ Session::get('success') }}

@else @role('Super-admin|Doctor|Branch-manager|Receptionist') @endrole @endif @if (Session::has('error_delete'))

Can not be deleted

{{ Session::get('error_delete') }}

@endif @endsection @section('content')
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
{{ __('basic.dashboard') }} | {{ __('basic.patient') }} | {{ $patient->first_name }}
@role('Super-admin|Trip-manager|Package-manager|Transport-manager|Visa-manager|Hotel-manager|Operation-manager|Operation-worker') SMS @role('Super-admin|Operation-manager') {{ __('basic.delete') }} {{ __('basic.slight edit') }} @endrole @if($patient->acc_account_id) {{ __('basic.account statement') }} @endif {{ __('basic.edit') }} {{ __('basic.print') }} @endrole
@if ($patient->recommendation == 1) @php $recom_color = 'main-color-bg-200'; $recom_msg = __('basic.normal'); @endphp @elseif ($patient->recommendation == 2) @php $recom_color = 'text-green-ligh-bg'; $recom_msg = __('basic.recommended'); @endphp @elseif ($patient->recommendation == 3) @php $recom_color = 'text-red-bg'; $recom_msg = __('basic.not recommended'); @endphp @endif

@if($patient->cat == 1) {{ __('basic.patient') }} @else {{ __('basic.company') }} @endif

{{ $patient->first_name . ' ' . $patient->second_name }}

{{ __('basic.id') }}: {{ $patient->new_id }}

{{ __('basic.code') }}: {{ $patient->code }}

{{ __('patientappo.gendar') }}

{{ $patient->gendar }}

{{ __('basic.status') }}

@if ($patient->type == 1) {{ __('basic.patient') }} @elseif ($patient->type == 2) {{ __('basic.leads no action') }} @elseif ($patient->type == 3) {{ __('basic.leads interested') }} @elseif ($patient->type == 4) {{ __('basic.leads not interested') }} @endif

{{ __('basic.creator') }}

@if ($patient->creator) {{ $patient->creator->first_name }} @else No ONE @endif
{{ __('basic.balance') }}

@if($patient->account) {{ $patient->account->current_balance_local }} @else {{ __('basic.not account yet') }} @endif
{{--
BL Pressure

@empty($patient->bl_pressure)

Not Yet
@else {{ $patient->bl_pressure }} @endempty
--}}
@if(prox_sett('tourism') === "1") @role('Super-admin|Doctor|Branch-manager|Receptionist')
@include('patient.component.hotel') @include('patient.component.bus') @include('patient.component.airline')
@endrole @endif @if(prox_sett('crm') === "1")
@include('patient.component.crm.task') @include('patient.component.crm.deals') @include('patient.component.crm.appointment')
@endif @if(prox_sett('order') === "1")
@include('patient.component.order.order')
@endif @if(prox_sett('law') === "1")
@include('patient.component.law.law')
@endif
@include('patient.component.payment')
@if($patient->cat == 2)
{{ __('basic.company workers') }}
@foreach ($patient->workers as $item) @endforeach
{{ __('basic.name') }} {{ __('basic.phone number') }} {{ __('basic.email') }} {{ __('basic.position') }}
{{ $item->name }} {{ $item->phone_number }} {{ $item->email }} {{ $item->position }}
@endif
@endsection @section('js') @include('patient.component.patientjs') @endsection