Browse Source

Text change: "Default NA" => "Nurse"

Vijayakrishnan 3 years ago
parent
commit
d86c27dad3

+ 1 - 1
app/Models/Client.php

@@ -442,7 +442,7 @@ class Client extends Model
         $pro = $this->rme;
         $pro = $this->rme;
         if ($pro && $pro->id) $pros[] = ["pro" => $pro->displayName(), "association" => 'RME'];
         if ($pro && $pro->id) $pros[] = ["pro" => $pro->displayName(), "association" => 'RME'];
         $pro = $this->defaultNaPro;
         $pro = $this->defaultNaPro;
-        if ($pro && $pro->id) $pros[] = ["pro" => $pro->displayName(), "association" => 'Default NA'];
+        if ($pro && $pro->id) $pros[] = ["pro" => $pro->displayName(), "association" => 'Nurse'];
 
 
         // via client pro access
         // via client pro access
         $cpAccesses = ClientProAccess::where('client_id', $this->id)->where('is_active', true)->get();
         $cpAccesses = ClientProAccess::where('client_id', $this->id)->where('is_active', true)->get();

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

@@ -310,14 +310,14 @@
                     </div>
                     </div>
 
 
                     <div class="mb-1">
                     <div class="mb-1">
-                        <label>Default NA:</label> <b>{{$patient->defaultNaPro ? $patient->defaultNaPro->displayName() : '-' }}</b>
+                        <label>Nurse:</label> <b>{{$patient->defaultNaPro ? $patient->defaultNaPro->displayName() : '-' }}</b>
                         @if($pro->pro_type == 'ADMIN')
                         @if($pro->pro_type == 'ADMIN')
                             <div moe class="ml-2">
                             <div moe class="ml-2">
                                 <a start show><i class="fa fa-edit"></i></a>
                                 <a start show><i class="fa fa-edit"></i></a>
                                 <form url="/api/client/putDefaultNaPro" class="mcp-theme-1">
                                 <form url="/api/client/putDefaultNaPro" class="mcp-theme-1">
                                     <input type="hidden" name="uid" value="{{$patient->uid}}">
                                     <input type="hidden" name="uid" value="{{$patient->uid}}">
                                     <div class="mb-2">
                                     <div class="mb-2">
-                                        <label class="text-secondary text-sm">Default NA Pro</label>
+                                        <label class="text-secondary text-sm">Nurse Pro</label>
                                         <select provider-search data-pro-uid="{{ @$patient->defaultNaPro->uid }}"
                                         <select provider-search data-pro-uid="{{ @$patient->defaultNaPro->uid }}"
                                                 name="defaultNaProUid"
                                                 name="defaultNaProUid"
                                                 class="form-control form-control-sm">
                                                 class="form-control form-control-sm">
@@ -343,7 +343,7 @@
                                     <form url="/api/client/removeDefaultNaPro" class="mcp-theme-1">
                                     <form url="/api/client/removeDefaultNaPro" class="mcp-theme-1">
                                         <input type="hidden" name="uid" value="{{$patient->uid}}">
                                         <input type="hidden" name="uid" value="{{$patient->uid}}">
                                         <div class="mb-2">
                                         <div class="mb-2">
-                                            <label class="text-secondary text-sm">Remove Default NA Pro</label>
+                                            <label class="text-secondary text-sm">Remove Nurse Pro</label>
 
 
                                         </div>
                                         </div>
                                         <div>
                                         <div>

+ 1 - 1
resources/views/app/practice-management/remote-monitoring.blade.php

@@ -56,7 +56,7 @@
                                     <div>MCP</div>
                                     <div>MCP</div>
                                 @endif
                                 @endif
                                 @if($iPatient->default_na_pro_id === $pro->id)
                                 @if($iPatient->default_na_pro_id === $pro->id)
-                                    <div>Default NA</div>
+                                    <div>Nurse</div>
                                 @endif
                                 @endif
                                 @if($iPatient->rmm_pro_id === $pro->id)
                                 @if($iPatient->rmm_pro_id === $pro->id)
                                     <div>RMM</div>
                                     <div>RMM</div>

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

@@ -576,14 +576,14 @@
                                             @endif
                                             @endif
                                         </div>
                                         </div>
                                         <div>
                                         <div>
-                                            <label>Default NA:</label> {{$patient->defaultNaPro ? $patient->defaultNaPro->displayName() : '-' }}
+                                            <label>Nurse:</label> {{$patient->defaultNaPro ? $patient->defaultNaPro->displayName() : '-' }}
                                             @if($pro->pro_type == 'ADMIN')
                                             @if($pro->pro_type == 'ADMIN')
                                                 <div moe class="ml-2">
                                                 <div moe class="ml-2">
                                                     <a start show><i class="fa fa-edit"></i></a>
                                                     <a start show><i class="fa fa-edit"></i></a>
                                                     <form url="/api/client/putDefaultNaPro" class="mcp-theme-1">
                                                     <form url="/api/client/putDefaultNaPro" class="mcp-theme-1">
                                                         <input type="hidden" name="uid" value="{{$patient->uid}}">
                                                         <input type="hidden" name="uid" value="{{$patient->uid}}">
                                                         <div class="mb-2">
                                                         <div class="mb-2">
-                                                            <label class="text-secondary text-sm">Default NA Pro</label>
+                                                            <label class="text-secondary text-sm">Nurse Pro</label>
                                                             <select provider-search data-pro-uid="{{ @$patient->defaultNaPro->uid }}"
                                                             <select provider-search data-pro-uid="{{ @$patient->defaultNaPro->uid }}"
                                                                     name="defaultNaProUid"
                                                                     name="defaultNaProUid"
                                                                     class="form-control form-control-sm">
                                                                     class="form-control form-control-sm">
@@ -609,7 +609,7 @@
                                                         <form url="/api/client/removeDefaultNaPro" class="mcp-theme-1">
                                                         <form url="/api/client/removeDefaultNaPro" class="mcp-theme-1">
                                                             <input type="hidden" name="uid" value="{{$patient->uid}}">
                                                             <input type="hidden" name="uid" value="{{$patient->uid}}">
                                                             <div class="mb-2">
                                                             <div class="mb-2">
-                                                                <label class="text-secondary text-sm">Remove Default NA Pro</label>
+                                                                <label class="text-secondary text-sm">Remove Nurse Pro</label>
 
 
                                                             </div>
                                                             </div>
                                                             <div>
                                                             <div>