@extends('layouts.app') @section('title', __('prescriptions::messages.prescriptions.new')) @php $activeField = \App\Modules\Patients\Enums\PatientSearchField::tryFrom($filters['search_field']) ?? $defaultSearchField; // Read by Clinic.searchField, so the box re-labels itself the moment the // pill changes rather than after a round trip. $searchRules = []; foreach ($searchFields as $searchField) { $searchRules[$searchField->value] = ['placeholder' => $searchField->placeholder()]; } @endphp @section('content')
{{ __('prescriptions::messages.prescriptions.choose_patient_hint') }}
{{ $searched ? __('prescriptions::messages.prescriptions.no_patient_match') : __('prescriptions::messages.prescriptions.start_typing') }}
{{ $searched ? __('prescriptions::messages.prescriptions.no_patient_match_hint') : __('prescriptions::messages.prescriptions.start_typing_hint') }}