[WIP] Fix cosmetics, prices
This commit is contained in:
@@ -12,15 +12,15 @@ class ArticleAttributeValuesDataTable extends DataTable
|
||||
|
||||
public function query(ArticleAttributeValue $model)
|
||||
{
|
||||
$model = $model::with(['attribute_family']);
|
||||
$model = $model::with(['ArticleAttributeFamily']);
|
||||
return self::buildQuery($model);
|
||||
}
|
||||
|
||||
protected function getColumns()
|
||||
{
|
||||
return [
|
||||
Column::make('attribute_family.name')->title('Famille d\'attributs') ,
|
||||
Column::make('value'),
|
||||
Column::make('value')->title('Attributs'),
|
||||
Column::make('article_attribute_family.name')->title('Famille d\'attributs')->sortable(false),
|
||||
self::makeColumnButtons(),
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user