@if(\Illuminate\Support\Facades\Auth::user()->isAbleTo('prescriptions-read'))
Patient Details
{{--

--}}
@if($patientinformation)
Patient Name : {{$patientinformation->patient_name}}
Patient ID : {{$patientinformation->patient_id}}
Contact No : {{$patientinformation->phone_no}}
Age & Sex : {{$patientinformation->age}} Years / {{$patientinformation->gender}}
@endif
@if(sizeof($patientsessions)>0) @foreach($patientsessions as $tabledata) @endforeach @else @endif
DATE & TIME Session Details
{{\Carbon\Carbon::parse($tabledata['created_at'])->format('d-M-Y h:i A')}} {{$tabledata->getSession->session_name}}
{{\Carbon\Carbon::parse($tabledata->getSession->session_date)->format('d-M-Y')}} ( {{\Carbon\Carbon::parse($tabledata->getSession->session_start_time)->format('H:i A')}} - {{\Carbon\Carbon::parse($tabledata->getSession->session_end_time)->format('H:i A')}} )
@if(sizeof($tabledata->getPrescriptions)>0) @if($tabledata['prescription'] != null) View @endif {{-- Old Prescription design--}} {{-- --}} {{-- View--}} {{-- --}} {{-- History --}} @endif {{-- --}}

No Data Available

{{$datatables->links('livewire.pagination-livewire')}}
@else

Sorry !!! Unauthorized Access

@endif @section('externaljs') @endsection