<?php
// accesorios_ingreso.php — Ingreso de Accesorio
declare(strict_types=1);
session_start();
if (!isset($_SESSION['ingreso']) || $_SESSION['ingreso'] !== 'YES') { header("Location: views/index.php"); exit(); }
$usuario = $_SESSION['usuario'] ?? '';
$permiso = (int)($_SESSION['permiso'] ?? 0);
require_once __DIR__ . '/conex.php';
?>
<?php include 'partials/header.php'; ?>
<body>
<?php include 'partials/topbar.php'; ?>
<div class="container-fluid">
  <div class="row">
    <?php include 'partials/menu.php'; ?>
    <main class="col-md-9 ms-sm-auto col-lg-10 px-3 py-3">
      <h5 class="mb-3"><i class="fa-solid fa-arrow-up-wide-short me-2"></i>Ingreso de Accesorio</h5>

      <form id="formEgreso" class="row g-2 col-lg-8">
        
      </form>

      <div id="alerta" class="mt-3" style="display:none;"></div>
    </main>
  </div>
</div>


<?php include 'partials/footer.php'; ?>
</body>
</html>
