zilong před 4 roky
rodič
revize
a33e4303b4
1 změnil soubory, kde provedl 2 přidání a 2 odebrání
  1. 2 2
      app/Models/Patient.php

+ 2 - 2
app/Models/Patient.php

xqd
@@ -10,8 +10,8 @@ namespace App\Models;
 
 class Patient extends BaseModel
 {
-    protected $appends = ['is_collect'];
-    
+    protected $appends = ['age'];
+
     public function getAgeAttribute()
     {
         return birthday_to_age($this->birthday);