Explorar o código

fixed null pointer

= %!s(int64=3) %!d(string=hai) anos
pai
achega
16ba526151
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      resources/views/app/mcp/bills_pending_signature.blade.php

+ 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>