@extends('admin.layout.index') @section('content')
@if ($appointments->isNotEmpty()) @foreach ($appointments as $service) @if($service->status == 'completed') @elseif($service->status =='scheduled') @else @endif @endforeach @endif
Appointment # Staff Referral Appointment Date Booking Date Service Amount Status
#{{$service->appointment}}

{{DB::table('users')->where('id',$service->doctor_id)->value('name')}}

Download {{ date('d-M-Y', strtotime($service->appointment_date ))}} {{$service->appointment_time}} {{ date('d-M-Y', strtotime($service->created_at ))}} {{DB::table('our_services')->where('id',$service->service)->value('name')}} GHC{{DB::table('our_services')->where('id',$service->service)->value('price')}}{{$service->status}}{{$service->status}}{{$service->status}}
@if ($medicalLab->isNotEmpty()) @foreach ($medicalLab as $lab) @endforeach @endif
ID Date Description Attachment Created
#{{$lab->appointment}} 14 Nov 2019 {{DB::table('our_services')->where('id',$lab->service)->value('name')}} Attached

{{DB::table('users')->where('id',$lab->doctor_id)->value('name')}}

@foreach ($result as $item) @endforeach
Invoice No Services Amount
#INV-{{ $item['appointment'] }} @foreach ($item['services'] as $service)
  • {{ $service->name }} ({{ $service->price }})
  • @endforeach
    Ghc{{ $item['total_service_price'] }}
    @endsection