Initial commit: NestJS NextJS pnpm monorepo
This commit is contained in:
commit
610dcf202b
175 files changed
+25172
No files matched your search
@@ -0,0 +1,27 @@
|
||||
import Link from "next/link";
|
||||
import { sites } from "../../../../_config/sites";
|
||||
import { LocationForm } from "../../../../components/location/location.form";
|
||||
import { articleFindAll } from "../../../../actions/article.actions";
|
||||
import { locationFindAll, locationTree } from "../../../../actions/location.actions";
|
||||
import { StockForm } from "../../../../components/stock/stock.form";
|
||||
import { categoryFindAll } from "../../../../actions/category.actions";
|
||||
|
||||
|
||||
|
||||
export default async function StockMovmentNewPage() {
|
||||
|
||||
const artikel = await articleFindAll();
|
||||
const orte = await locationTree();
|
||||
const kategorien = await categoryFindAll();
|
||||
|
||||
return (
|
||||
<div className="h-screen flex flex-col gap-4">
|
||||
<div>
|
||||
{sites.location.new.name}
|
||||
<StockForm article={artikel} orte={orte} categories={kategorien}></StockForm>
|
||||
</div>
|
||||
|
||||
<Link href={sites.location.url}>zurück zu {sites.location.name}</Link>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user