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:
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"
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user