mirror of
https://forge.chapril.org/tykayn/osm-commerces
synced 2025-10-04 17:04:53 +02:00
test page follow up unused stores ctc
This commit is contained in:
parent
00977d4fba
commit
2bbc7153c6
2 changed files with 129 additions and 1 deletions
|
@ -21,6 +21,7 @@ class FollowUpController extends AbstractController
|
|||
$this->followUpService = $followUpService;
|
||||
}
|
||||
|
||||
|
||||
#[Route('/admin/followup/{insee_code}/delete', name: 'admin_followup_delete', requirements: ['insee_code' => '\\d+'])]
|
||||
public function deleteFollowups(string $insee_code, EntityManagerInterface $em): Response {
|
||||
$stats = $em->getRepository(Stats::class)->findOneBy(['zone' => $insee_code]);
|
||||
|
@ -224,4 +225,11 @@ class FollowUpController extends AbstractController
|
|||
'icon' => FollowUpService::getFollowUpIcons()[$theme] ?? 'bi-question-circle',
|
||||
]);
|
||||
}
|
||||
}
|
||||
#[Route('/admin/followup/unused-stores', name: 'admin_followup_unused_stores')]
|
||||
public function unusedStores(): Response
|
||||
{
|
||||
return $this->render('admin/followup_unused_stores.html.twig', [
|
||||
'json_url' => 'https://complete-tes-commerces.fr/13/13001-aix-en-provence/json/aix-en-provence_last_stats.json'
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue