logicpowerhouse 5 anni fa
parent
commit
e6c53b4a32
3 ha cambiato i file con 10 aggiunte e 22 eliminazioni
  1. 3 0
      public/css/yemi.css
  2. 1 1
      public/js/yemi.js
  3. 6 21
      resources/views/layouts/patient.blade.php

+ 3 - 0
public/css/yemi.css

@@ -1,6 +1,9 @@
 [moe] [url]:not([show]){
     display: none;
 }
+[moe] {
+    display: inline-block;
+}
 [moe] form:not([show]) {
     z-index: 99999;
     position: absolute;

+ 1 - 1
public/js/yemi.js

@@ -379,7 +379,7 @@ jQuery(document).ready(function () {
                 }
             }, function (errorMessage) {
 
-            }, true);
+            }, false);
         });
     });
 

+ 6 - 21
resources/views/layouts/patient.blade.php

@@ -106,9 +106,11 @@
                                                 </div>
                                             @endif
                                         @else
-                                            none!
                                             <div moe>
-                                                <a href="" start show>[assign someone]</a>
+                                                none!
+                                                <a href="" start show>
+                                                    <i class="fas fa-edit"></i>
+                                                </a>
                                                 <form url="/api/client/putMcp">
                                                     <input type="hidden" name="uid" value="{{$patient->uid}}">
                                                     <div class="form-group">
@@ -133,9 +135,9 @@
                                             @if($patient->cm)
                                                 {{$patient->cm->name_display}}
                                             @else
-                                                none!
                                                 <div moe>
-                                                    <a href="" start>[assign someone]</a>
+                                                    none!
+                                                    <a href="" start show><i class="fas fa-edit"></i></a>
                                                     <form url="/api/client/putCmPro">
                                                         <input type="hidden" name="uid" value="{{$patient->uid}}">
                                                         <div class="form-group">
@@ -180,23 +182,6 @@
                                             None provided. <i class="fa fa-times"></i>
                                         @endif
                                     </div>
-                                    <div class="pl-3">
-                                        <strong>PCP:</strong>
-                                        @if($patient->mcp)
-                                            {{$patient->mcp->displayName()}}...
-                                            @if($patient->has_mcp_done_onboarding_visit == 'YES')
-                                                <strong>First E&M
-                                                    Visit:</strong> {{$patient->mcp_onboarding_visit_date}}...
-                                                <strong>Last E&M Visit:</strong>
-                                                {$patient->most_recent_mcp_em_visit_date}...
-                                                <strong>Next E&M Visit:</strong> {$patient->next_mcp_em_visit_date}
-                                            @else
-                                                Patient has not been seen yet!
-                                            @endif
-                                        @else
-                                            none! [assign someone]
-                                        @endif
-                                    </div>
                                 </div>
                                 <div class="d-flex">
                                     <div>