Pārlūkot izejas kodu

fixed null pointer

= 3 gadi atpakaļ
vecāks
revīzija
16ba526151

+ 4 - 0
resources/views/app/mcp/bills_pending_signature.blade.php

@@ -25,9 +25,13 @@
                     <tr>
                         <td>{{ friendly_date_time($row->effective_date, false) }}</td>
                         <td>
+                            @if($row->client)
                             <a target="_blank" native href="{{route('patients.view.dashboard', $row->client)}}">
                                 {{$row->client->displayName()}}
                             </a>
+                            @else 
+                            --
+                            @endif
                         </td>
                         <td>{{ $row->code }}</td>
                         <td>{{ $row->generic_target_entity_type ?: '-' }}</td>