Initial commit: mini-erp (backend FastAPI + frontend React/Vite)

Base para el flujo de ramas por cliente.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
GeorgeandClaude Sonnet 5 committed 2026-08-17 10:34:12 -05:00
commit ab3c613165
154 files changed
+16872

No files matched your search

@@ -0,0 +1,22 @@
import { useSearchParams } from "react-router-dom";
import BatchForm from "../../components/BatchForm";
export default function BatchNumberDetails() {
const [searchParams] = useSearchParams();
const batchId = searchParams.get("code");
if (!batchId) {
return (
<div className="p-4 text-xs text-[var(--color-error)]">
No se especificó un lote para editar.
</div>
);
}
return (
<BatchForm
batchId={batchId}
backPath="/inventario/lotes"
/>
);
}