<?php
/**
 * Fichier  : views/lots.php
 * Auteur   : KREMER Régis
 * Version  : 2.4.1
 * Date     : 2026-02-26
 * Description : Vue — Lots & traçabilité (Lot 2) — alignée Fournisseurs/Rapports
 */
?>

<div class="page-body" id="pgLots">
  <section class="page-sect">
    <div class="sect-toolbar">
      <h2>🧬 Lots &amp; traçabilité</h2>
      <div style="display:flex;gap:8px">
        <button class="btn btn-secondary" id="btnLotsReload">Rafraîchir</button>
      </div>
    </div>

    <div class="report-filters">
      <select class="sel" id="lotsWarehouse"></select>
      <select class="sel" id="lotsLocation"><option value="">Tous les emplacements</option></select>
      <input class="inp" id="lotsSearch" placeholder="🔍 Produit, lot, date…" />
    </div>

    <div class="card">
      <div class="table-container">
        <table class="data-table" id="tblLots">
          <thead>
            <tr>
              <th>Produit</th>
              <th style="width:140px">Lot</th>
              <th style="width:140px">DL/DLUO</th>
              <th style="width:120px">Qté</th>
              <th style="width:160px">Emplacement</th>
              <th style="width:110px">Bloqué</th>
              <th style="width:220px"></th>
            </tr>
          </thead>
          <tbody></tbody>
        </table>
      </div>
    </div>
  </section>

</div>
