forked from sensasi-apps/sensasi-pos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Inisialisasi rute-rute halaman manajemen data gudang (sensasi-apps#111 …
- Loading branch information
1 parent
9e3c90e
commit f2fd2b9
Showing
3 changed files
with
33 additions
and
0 deletions.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
src/app/(authenticated user)/data/warehouses/(form)/[uuid]/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
export default function Page({ | ||
params: { uuid }, | ||
}: { | ||
params: { uuid: string } | ||
}) { | ||
return ( | ||
<div> | ||
<div>(Halaman Ubah Data Gudang) {uuid}</div> | ||
</div> | ||
) | ||
} |
7 changes: 7 additions & 0 deletions
7
src/app/(authenticated user)/data/warehouses/(form)/create/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export default function Page() { | ||
return ( | ||
<div> | ||
<div>(Halaman Tambah Data Gudang)</div> | ||
</div> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import PageUrlEnum from '@/enums/page-url' | ||
import { Button } from '@nextui-org/react' | ||
import Link from 'next/link' | ||
|
||
export default function Page() { | ||
return ( | ||
<div> | ||
<div>(Halaman Awal Manajemen Data Gudang)</div> | ||
|
||
<Button href={PageUrlEnum.WAREHOUSE_CREATE} as={Link} color="primary"> | ||
Tambah data gudang | ||
</Button> | ||
</div> | ||
) | ||
} |