@extends('front.practitioner.import.template.import') @section('content')
@php $rturnUrl = ''; if (Session::get('session_location') != '') { if ($from_team == 1) { $rturnUrl = url('/practitioner/appointments/teams') . '?jump_todate=' . date('Y-m-d', strtotime($appointent->date)); } else { $rturnUrl = url('/practitioner/appointments/show') . '?jump_todate=' . date('Y-m-d', strtotime($appointent->date)) . '&location=' . Session::get('session_location').'&practitionersearch='.base64_encode($appointent->practitioner_id); } } else { if ($from_team == 1) { $rturnUrl = url('/practitioner/appointments/teams') . '?jump_todate=' . date('Y-m-d', strtotime($appointent->date)); } else { if (Session::get('prev_url_location') != '') { $rturnUrl = url('/practitioner/appointments/show') .'?practitionersearch='.base64_encode($appointent->practitioner_id). '&location=' . Session::get('prev_url_location').'&jump_todate=' . date('Y-m-d', strtotime($appointent->date)); }else{ $rturnUrl = url('/practitioner/appointments/show') .'?practitionersearch='.base64_encode($appointent->practitioner_id).'&jump_todate=' . date('Y-m-d', strtotime($appointent->date)); } } } @endphp
@php $url_replaced = route('join', ':roomName'); // $url_replaced = preg_replace( '#^http://#','https://', $url ); // replace http with https ## @endphp @if ($is_video_consultations_available == 1)
{{--
--}} @endif
@if ($sticky_notes != '') @endif
@if ($sticky_notes == '') Add a sticky note @endif @php $newString = ''; $sticky_notes = preg_replace("/\r\n|\r|\n/", '
', $sticky_notes); $stringCut = substr($sticky_notes, 0, 160); $check = substr_count($sticky_notes, '
'); @endphp @if ($check >= 6 && strlen($sticky_notes) < 160) @foreach (collect(explode('
', $sticky_notes))->take(6) as $e) @php $newString .= $e . '
'; @endphp @endforeach @php $newString = rtrim($newString, '
'); @endphp

{!! $newString ?? '' !!} ... see more

@else @if (strlen($sticky_notes) > 160)

{!! $stringCut ?? '' !!} ... see more

@else

{!! $stringCut ?? '' !!}

@endif @endif
{{-- --}}
@if ($profile_picture == '') {{-- --}}
{{ $name_photo ?? '-' }}
@else @endif

{{ $client_name ?? '' }}

{{ date_format(date_create($appointent->date), 'l dS F Y') . ' ' . date_format(date_create($appointent->time), 'h:i a') }}

{{ $appointent->appointment_type->appointment_type ?? '' }}

{{ $duretion }}

{{--

Account balance: ${{getBalanceGlobal($appointent->client_id,$appointent->practitioner_id)}}

--}}

Account balance: ${{ $client_pending_balance_total }}

@isset($claim_details)

{{ $claim_details->claim_type }}: @if ($claim_details->claims_cover == 'amount') ${{ $remaining_amount }} remaining @else {{ $remaining_sessions }} session/s remaining @endif

@endisset

Package: {{ $total_package_sessions ?? 0}} session/s remaining

  • {{-- --}}
  • {{--
  • --}}
  • {{-- @if($show_coupon_div == 1)
  • @endif --}}

Mark as:

  • client_appointment_status == 'arrived' ? 'checked' : '' }} type="checkbox" id="check-arrived" data-type="arrived" class="status_appointment_new1 status_arrived " value="arrived">
  • status == 'confirmed' ? 'checked' : '' }} id="check-confirmed" type="checkbox" data-type="confirmed" class="status_appointment_new1 status_confirmed " data-type="confirmed" value="confirmed">
  • status == 'missed' ? 'checked' : '' }} type="checkbox" id="check-missed" class="status_appointment_new1 status_missed " data-type="missed" value="missed">
  • status == 'cancelled' ? 'checked' : '' }} type="checkbox" id="check-Cancelled1" class="status_appointment_new1 status_cancelled " data-type="cancelled" value="cancelled">
...
Invoice
{{--
...
Book appointment
--}} {{-- --}} {{-- --}}
...
Book appointment
{{-- {{$notesUrl}} --}} {{-- @if($appointment_notes_access == 0) style="pointer-events: none" @endif --}}
...
Appointment notes
@endsection @section('css') @endsection @section('import-scripts') @include('sweet::alert') @endsection