add offers count, & minor fixes code standards
This commit is contained in:
@@ -20,7 +20,7 @@ class PriceListsDataTable extends DataTable
|
||||
{
|
||||
$model = $model->with(['sale_channel','price_list_values']);
|
||||
$model = self::filterByTariff($model);
|
||||
return self::buildQuery($model);
|
||||
return $this->buildQuery($model);
|
||||
}
|
||||
|
||||
public static function filterByTariff($model, $tariff_id = false)
|
||||
@@ -49,7 +49,7 @@ class PriceListsDataTable extends DataTable
|
||||
Column::make('name')->title('Nom'),
|
||||
Column::make('sale_channel.name')->title('Canal de vente'),
|
||||
Column::make('tariff_id')->title('Liste de prix'),
|
||||
self::makeColumnButtons(),
|
||||
$this->makeColumnButtons(),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user