add offers count, & minor fixes code standards
This commit is contained in:
@@ -14,7 +14,7 @@ class TariffsDataTable extends DataTable
|
||||
public function query(Tariff $model)
|
||||
{
|
||||
$model = $model->with(['sale_channel'])->select(['shop_tariffs.*']);
|
||||
return self::buildQuery($model);
|
||||
return $this->buildQuery($model);
|
||||
}
|
||||
|
||||
public function modifier($datatables)
|
||||
@@ -36,7 +36,7 @@ class TariffsDataTable extends DataTable
|
||||
Column::make('sale_channel.name')->title('Canal de vente par défaut'),
|
||||
Column::make('code')->title('Code'),
|
||||
Column::make('ref')->title('Référence'),
|
||||
self::makeColumnButtons(),
|
||||
$this->makeColumnButtons(),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user