relationship path fixed

This commit is contained in:
Zain Fauzan Rofie Azizi
2018-07-06 10:54:12 +08:00
parent 03d84570fa
commit 8fe45348f5
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -10,13 +10,13 @@ class Contact extends Model
public function user() {
return $this->belongsTo(App/User);
return $this->belongsTo(App\User);
}
public function company(){
return $this->belongsTo(App/Company);
return $this->belongsTo(App\Company);
}
+1 -1
View File
@@ -22,7 +22,7 @@ class Deliveryinfo extends Model
public function company(){
return $this->belongsTo(App/Company);
return $this->belongsTo(App\Company);
}
+1 -1
View File
@@ -22,7 +22,7 @@ class Warehouse extends Model
public function company(){
return $this->belongsTo(App/Company);
return $this->belongsTo(App\Company);
}