mirror of
https://forge.chapril.org/tykayn/osm-commerces
synced 2025-10-09 17:02:46 +02:00
log erreurs labourrage
This commit is contained in:
parent
12d4db370f
commit
6796d52119
4 changed files with 66 additions and 20 deletions
|
@ -200,8 +200,8 @@ class FraicheurController extends AbstractController
|
|||
$villesByBinEcart = [];
|
||||
|
||||
foreach ($budgetParHabitant as $ville) {
|
||||
// Histogramme budget par habitant (pas de 100€)
|
||||
$binBudget = (string)(ceil($ville['budget_par_habitant'] / 100) * 100);
|
||||
// Histogramme budget par habitant (pas de 50€)
|
||||
$binBudget = (string)(ceil($ville['budget_par_habitant'] / 50) * 50);
|
||||
if (!isset($histogramBudgetParHabitant[$binBudget])) {
|
||||
$histogramBudgetParHabitant[$binBudget] = 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue