fix
This commit is contained in:
@@ -13,4 +13,14 @@ class SaleChannel extends Model
|
||||
{
|
||||
return $this->hasMany(Delivery::class);
|
||||
}
|
||||
|
||||
public function price_lists()
|
||||
{
|
||||
return $this->hasMany(PriceList::class);
|
||||
}
|
||||
|
||||
public function tariffs()
|
||||
{
|
||||
return $this->hasManyThrough(Tariff::class, PriceList::class, 'id1', 'tariff_id', 'id2', 'id3')
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user