fixed item-tax relationship
This commit is contained in:
parent
64bf8c78b2
commit
1a53c60082
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user