Work on VOIP and Domain products

This commit is contained in:
Deon George
2020-02-19 23:37:45 +11:00
parent 910edfd89f
commit 8311bfc268
9 changed files with 220 additions and 40 deletions

View File

@@ -17,7 +17,7 @@ abstract class ServiceType extends Model
*/
public function service()
{
return $this->morphOne(Service::class,'type','model','id');
return $this->morphOne(Service::class,'type','model','id','service_id');
}
/** SCOPES */