update
This commit is contained in:
@@ -18,10 +18,10 @@ class Pendientes extends Model
|
||||
|
||||
public function servicio()
|
||||
{
|
||||
return $this->hasMany(Servicio::class, 'servicio_id');
|
||||
return $this->belongsTo(Servicio::class, 'servicio_id');
|
||||
}
|
||||
public function historial()
|
||||
{
|
||||
return $this->hasMany(Historiale::class, 'historial_id');
|
||||
return $this->belongsTo(Historiale::class, 'historial_id');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user