Fixes on adding price & errors

This commit is contained in:
Ludovic CANDELLIER
2021-07-27 17:33:18 +02:00
parent 0d421226fa
commit 734ec87b89
18 changed files with 123 additions and 76 deletions

View File

@@ -17,6 +17,7 @@ class PriceListsDataTable extends DataTable
public function query(PriceList $model)
{
$model = $model->with('sale_channel');
$model = self::filterByTariff($model);
return self::buildQuery($model);
}
@@ -32,6 +33,7 @@ class PriceListsDataTable extends DataTable
{
return [
Column::make('name')->title('Nom'),
Column::make('sale_channel.name')->title('Canal de vente'),
self::makeColumnButtons(),
];
}