logicpowerhouse 5 jaren geleden
bovenliggende
commit
1d708f6e6a
2 gewijzigde bestanden met toevoegingen van 5 en 3 verwijderingen
  1. 1 1
      app/Models/Client.php
  2. 4 2
      resources/views/app/patients.blade.php

+ 1 - 1
app/Models/Client.php

@@ -8,7 +8,7 @@ class Client extends Model
 {
     protected $table = 'client';
 
-    public function nameDisplay(){
+    public function displayName(){
         return $this->name_last . ', '. $this->name_first;
     }
 

+ 4 - 2
resources/views/app/patients.blade.php

@@ -30,10 +30,12 @@
                     <tr>
                         <td>
                             <a href="{{route('patients.view.dashboard', $patient)}}">
-                                {{$patient->uid}}
+                                {{$patient->chart_number}}
                             </a>
                         </td>
-                        <td>A</td>
+                        <td>
+                            {{$patient->displayName()}}
+                        </td>
                         <td>B</td>
                         <td>C</td>
                         <td>D</td>