This commit is contained in:
Felipe
2023-10-23 17:09:05 -05:00
parent 42604a658c
commit fd9afd2183
22 changed files with 844 additions and 515 deletions
+2 -2
View File
@@ -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');
}
}