add offers count, & minor fixes code standards
This commit is contained in:
@@ -12,7 +12,7 @@ class CustomersDataTable extends DataTable
|
||||
|
||||
public function query(Customer $model)
|
||||
{
|
||||
return self::buildQuery($model);
|
||||
return $this->buildQuery($model);
|
||||
}
|
||||
|
||||
protected function getColumns()
|
||||
@@ -22,7 +22,7 @@ class CustomersDataTable extends DataTable
|
||||
Column::make('address')->title('Adresse'),
|
||||
Column::make('zipcode')->title('Code postal'),
|
||||
Column::make('city')->title('Ville'),
|
||||
self::makeColumnButtons(),
|
||||
$this->makeColumnButtons(),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user