瀏覽代碼

Merge branch 'master' into dev-vj

Vijayakrishnan 3 年之前
父節點
當前提交
f904c13b5f
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      resources/views/app/dna/care-months.blade.php

+ 3 - 3
resources/views/app/dna/care-months.blade.php

@@ -62,14 +62,14 @@
                                 @endif
                             </div>
                         </td>
-                        <td>{{ $careMonth->client->mcp->displayName() }}</td>
+                        <td>{{ $careMonth->mcp ? $careMonth->mcp->displayName() : '--' }}</td>
                         <td>{{ $careMonth->number_of_days_with_remote_measurements }}</td>
                         <td>
                             <?php $bill = $careMonth->rmBill; ?>
                             @if($bill)
                             <div class="d-flex flex-column">
                                 <span>Code: {{ $bill->code }}</span>
-                                <a href="/patients/view/{{ $bill->note->client->uid }}/notes/view/{{ $bill->note->uid }}">Note</a>
+                                <a href="/patients/view/{{ $bill->careMonth->client->uid }}/notes/view/{{ $bill->careMonth->uid }}">Note</a>
                             </div>
                             @endif
                         </td>
@@ -92,4 +92,4 @@
         </div>
     </div>
 </div>
-@endsection
+@endsection