add offers count, & minor fixes code standards

This commit is contained in:
Ludovic CANDELLIER
2021-11-01 16:26:31 +01:00
parent 8aaab4345f
commit ae20643879
66 changed files with 526 additions and 574 deletions

View File

@@ -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(),
];
}
}