= 3 жил өмнө
parent
commit
d2c2ac784d

+ 4 - 1
resources/views/app/patient/note/rhs-sidebar.blade.php

@@ -12,7 +12,10 @@
          title="Care Month: {{friendly_month($careMonth->start_date)}}"
          @endif
          popup-style="overflow-visible"
-         href="/patients/view/{{ $note->client->uid }}/care-months/view/{{$careMonth->uid}}">
+         @if($careMonth)
+         href="/patients/view/{{ $note->client->uid }}/care-months/view/{{$careMonth->uid}} 
+         @endif
+         >
         <div class="font-weight-bold">
             Recent Measurements
         </div>