mirror of
https://github.com/Floriansylvain/Exo-technique-VIE-Barcelone-SaaS-HRTech.git
synced 2026-08-19 19:53:23 +02:00
feat: garage module for client B (step 4)
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
<?php
|
||||
require_once __DIR__ . '/../../../../src/utils.php';
|
||||
$garages = DataManager::getGarages('clientb');
|
||||
?>
|
||||
<h1>Garages Client B</h1>
|
||||
<?php if (empty($garages)): ?>
|
||||
<p>Aucun garage trouvé.</p>
|
||||
<?php else: ?>
|
||||
<ul>
|
||||
<?php foreach ($garages as $g): ?>
|
||||
<li class="garage-item" data-garage-id="<?php echo htmlspecialchars($g['id'] ?? ''); ?>">
|
||||
<strong><?php echo htmlspecialchars($g['title'] ?? '-'); ?></strong>
|
||||
- <?php echo htmlspecialchars($g['address'] ?? '-'); ?>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
<?php endif; ?>
|
||||
Reference in New Issue
Block a user