Add display of shelve

This commit is contained in:
Ludovic CANDELLIER
2022-01-23 22:49:23 +01:00
parent 81b6c87d59
commit 52019357ba
10 changed files with 38 additions and 27 deletions

View File

@@ -22,14 +22,10 @@ class PriceListValue extends Model
public function tariff()
{
return $this->belongsToThrough(
'App\Models\Shop\Tariff',
'App\Models\Shop\PriceList',
null,
'',
return $this->belongsToThrough('App\Models\Shop\Tariff', 'App\Models\Shop\PriceList', null, '',
[
'App\Models\Shop\Tariff' => 'tariff_id',
'App\Models\Shop\PriceList' => 'price_list_id'
'App\Models\Shop\PriceList' => 'price_list_id',
]
);
}