@extends('layouts.app') @section('title', __('clinic.patients')) @section('heading', __('clinic.patients')) @section('content')
@if(request('q') || request('gender') || request('status') || request('doctor_id')) {{ __('clinic.search') }} @endif
{{ __('clinic.add_new_patient') }}
@forelse ($patients as $p) @empty @endforelse
{{ __('clinic.patient_code') }} {{ __('clinic.full_name') }} {{ __('clinic.phone') }} {{ __('clinic.gender') }} {{ __('clinic.age') }} {{ __('clinic.status') }}
{{ $p->patient_code }} {{ $p->full_name }} {{ $p->phone }} {{ __('clinic.' . $p->gender) }} {{ $p->age ?? '—' }} {{ __('clinic.' . $p->status) }}
{{ __('clinic.no_records') }}
@include('partials.pagination', ['paginator' => $patients]) @endsection