Skip to content

Commit 87f1422

Browse files
authored
Update InventoryStock.php
change relationship
1 parent 78e932d commit 87f1422

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Models/InventoryStock.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,6 @@ public function transactions()
4949
*/
5050
public function location()
5151
{
52-
return $this->hasOne(Location::class);
52+
return $this->belongsTo(Location::class);
5353
}
5454
}

0 commit comments

Comments
 (0)