diff --git a/app/Models/Item/Item.php b/app/Models/Item/Item.php index 9bfa68285..9694eea1e 100644 --- a/app/Models/Item/Item.php +++ b/app/Models/Item/Item.php @@ -44,9 +44,9 @@ class Item extends Model return $this->belongsTo('App\Models\Setting\Category'); } - public function taxes() + public function tax() { - return $this->hasMany('App\Models\Setting\Tax'); + return $this->belongsTo('App\Models\Setting\Tax'); } public function bills()