Fixes size of description on article, fix save form on Families and genres
This commit is contained in:
@@ -13,7 +13,7 @@ class TariffsDataTable extends DataTable
|
||||
|
||||
public function query(Tariff $model)
|
||||
{
|
||||
$model = $model->with(['sale_channels'])->select(['shop_tariffs.*']);
|
||||
$model = $model->with(['sale_channels'])->withCount(['price_lists', 'offers']);
|
||||
return $this->buildQuery($model);
|
||||
}
|
||||
|
||||
@@ -42,6 +42,8 @@ class TariffsDataTable extends DataTable
|
||||
Column::make('sale_channels2')->title('Canaux de vente'),
|
||||
Column::make('code')->title('Code'),
|
||||
Column::make('ref')->title('Référence'),
|
||||
Column::make('price_lists_count')->title('#Lst prix'),
|
||||
Column::make('offers_count')->title('#Offres'),
|
||||
$this->makeColumnButtons(),
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user