@extends('layouts.master') @section('title', 'My Patients | Proxima - Medical Management app') @section('title-topbar', 'My Patients') @section('css') @endsection @section('content')
{{ __('basic.dashboard') }} | {{ __('basic.patients') }} | My Patients
{{ __('basic.search filter') }}
@csrf

@foreach ($specialty as $item)
@endforeach

@foreach ($branch as $item)
@endforeach

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

{{ __('patientappo.total patients') }} {{ $patients->total() }}

@foreach ($patients as $item)

{{ date('d M Y', strtotime($item->created_at)) }}

{{ $item->name }}

{{ $item->branch->name }}

{{ __('patientappo.phone number') }}
{{ $item->phone_number }}
{{ __('patientappo.country') }}
{{ $item->country->name }}
{{ __('patientappo.city') }}
{{ $item->city->name }}
{{ __('patientappo.age') }}
{{ \Carbon\Carbon::parse($item->birthday)->diff(\Carbon\Carbon::now())->format('%y Years') }}
@endforeach
{{ $patients->appends(request()->input())->links() }}
@endsection @section('js') @endsection