Samson Mutunga 3 년 전
부모
커밋
423bf92478
1개의 변경된 파일3개의 추가작업 그리고 0개의 파일을 삭제
  1. 3 0
      app/Models/ClientPrimaryCoverage.php

+ 3 - 0
app/Models/ClientPrimaryCoverage.php

@@ -55,4 +55,7 @@ class ClientPrimaryCoverage extends Model
         return implode(" ", $parts);
     }
 
+    public function payer(){
+        return $this->hasOne(Payer::class, 'id', 'commercial_payer_id');
+    }
 }