Procházet zdrojové kódy

MCP OB moe - "show {title} {note date} {note mcp}" for note <select> options

Vijayakrishnan před 3 roky
rodič
revize
a6dbbfd561

+ 1 - 1
resources/views/app/patient/care-month/dashboard.blade.php

@@ -65,7 +65,7 @@
                                         <?php $notes = \App\Models\Note::where('client_id', $patient->id)->get() ?>
                                         @foreach ($notes as $note)
                                             @if(!empty($note->title) && $note->client_id === $patient->id && !$note->is_cancelled)
-                                                <option value="{{$note->uid}}">{{$note->title}}</option>
+                                                <option value="{{$note->uid}}">{{$note->hcpPro->displayName()}} ({{friendly_date_time($note->effective_dateest, false)}})</option>
                                             @endif
                                         @endforeach
                                     </select>

+ 1 - 1
resources/views/app/patient/care-months.blade.php

@@ -38,7 +38,7 @@
                                         <option value="">-- Visit Note --</option>
                                         @foreach ($notes as $note)
                                             @if(!empty($note->title) && $note->client_id === $patient->id && !$note->is_cancelled)
-                                                <option value="{{$note->uid}}">{{$note->title}}</option>
+                                                <option value="{{$note->uid}}">{{$note->hcpPro->displayName()}} ({{friendly_date_time($note->effective_dateest, false)}})</option>
                                             @endif
                                         @endforeach
                                     </select>

+ 1 - 1
resources/views/app/patient/settings.blade.php

@@ -1042,7 +1042,7 @@
                                     @if(!empty($note->title) && $note->client_id === $patient->id && !$note->is_cancelled)
                                         <option
                                             {{ $patient->mcp_onboarding_visit_note_id === $note->id ? 'selected' : '' }}
-                                            value="{{$note->uid}}">{{$note->title}} ({{friendly_date_time($note->effective_dateest, false)}})</option>
+                                            value="{{$note->uid}}">{{$note->hcpPro->displayName()}} ({{friendly_date_time($note->effective_dateest, false)}})</option>
                                     @endif
                                 @endforeach
                                 {{--<option value="-- create --">-- Create Note --</option>--}}

+ 1 - 1
resources/views/layouts/patient.blade.php

@@ -452,7 +452,7 @@ $isVisitNote = ($routeName === 'patients.view.notes.view.dashboard' && @$note &&
 																	@if(!empty($note->title) && $note->client_id === $patient->id && !$note->is_cancelled)
 																		<option
 																			{{ $patient->mcp_onboarding_visit_note_id === $note->id ? 'selected' : '' }}
-																			value="{{$note->uid}}">{{$note->title}} ({{friendly_date_time($note->effective_dateest, false)}})</option>
+																			value="{{$note->uid}}">{{$note->hcpPro->displayName()}} ({{friendly_date_time($note->effective_dateest, false)}})</option>
 																	@endif
 																@endforeach
 																{{--<option value="-- create --">-- Create Note --</option>--}}