quantites-clients.html 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>Quantités par client - dirCops</title>
  7. <script src="https://cdn.tailwindcss.com"></script>
  8. </head>
  9. <body class="bg-gray-50 min-h-screen">
  10. <div class="max-w-5xl mx-auto px-4 py-8">
  11. <header class="flex justify-between items-center mb-8">
  12. <h1 class="text-2xl font-semibold text-gray-800">dirCops</h1>
  13. <nav class="space-x-4">
  14. <a href="index.html" class="text-gray-600 hover:text-blue-600">Clients</a>
  15. <a href="dashboard.html" class="text-gray-600 hover:text-blue-600">Tableau de bord</a>
  16. <a href="top-clients.html" class="text-gray-600 hover:text-blue-600">Top clients</a>
  17. <a href="quantites-clients.html" class="text-blue-600 font-medium">Quantités</a>
  18. </nav>
  19. </header>
  20. <div id="error-message" class="hidden mb-4 p-3 bg-red-100 text-red-700 rounded"></div>
  21. <div class="mb-6">
  22. <label for="type" class="block text-sm font-medium text-gray-700 mb-1">Filtrer par type (optionnel)</label>
  23. <select id="type" class="border border-gray-300 rounded px-3 py-2">
  24. <option value="">Tous</option>
  25. <option value="alevins">Alevins</option>
  26. <option value="larves">Larves</option>
  27. </select>
  28. <button type="button" id="btn-refresh" class="ml-2 px-4 py-2 bg-blue-600 text-white rounded hover:bg-blue-700">Actualiser</button>
  29. </div>
  30. <div class="bg-white rounded-lg shadow overflow-hidden">
  31. <h2 class="px-6 py-4 border-b text-lg font-medium text-gray-800">Quantités vendues par client</h2>
  32. <p class="px-6 text-sm text-gray-500">Qté facturée = quantité sur facture ; Qté livrée = déjà livré.</p>
  33. <div id="quantites-list" class="p-6">Chargement...</div>
  34. </div>
  35. </div>
  36. <script src="js/utils.js"></script>
  37. <script src="js/quantites-clients.js"></script>
  38. </body>
  39. </html>