# Event Join
## feat - Join event - kontribusi event - histoty in progress ### No Issue
This commit is contained in:
20
src/app/dev/admin/event/main/page.tsx
Normal file
20
src/app/dev/admin/event/main/page.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import { AdminEvent_Main } from "@/app_modules/admin/event";
|
||||
import AdminEvent_funCountByStatusId from "@/app_modules/admin/event/fun/count/fun_count_event_by_status_id";
|
||||
|
||||
export default async function Page() {
|
||||
const countPublish = await AdminEvent_funCountByStatusId("1");
|
||||
const countReview = await AdminEvent_funCountByStatusId("2");
|
||||
const countDraft = await AdminEvent_funCountByStatusId("3");
|
||||
const countReject = await AdminEvent_funCountByStatusId("4");
|
||||
|
||||
return (
|
||||
<>
|
||||
<AdminEvent_Main
|
||||
countPublish={countPublish as number}
|
||||
countReview={countReview as number}
|
||||
countDraft={countDraft as number}
|
||||
countReject={countReject as number}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
}
|
||||
12
src/app/dev/admin/event/table/publish/page.tsx
Normal file
12
src/app/dev/admin/event/table/publish/page.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
import { AdminEvent_TablePublish } from "@/app_modules/admin/event";
|
||||
import { AdminEvent_getListTableByStatusId } from "@/app_modules/admin/event/fun/get/get_list_table_by_status_id";
|
||||
|
||||
export default async function Page() {
|
||||
const listPublish = await AdminEvent_getListTableByStatusId("1");
|
||||
|
||||
return (
|
||||
<>
|
||||
<AdminEvent_TablePublish listPublish={listPublish as any} />
|
||||
</>
|
||||
);
|
||||
}
|
||||
10
src/app/dev/admin/event/table/reject/page.tsx
Normal file
10
src/app/dev/admin/event/table/reject/page.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import { AdminEvent_TableReject } from "@/app_modules/admin/event";
|
||||
import { AdminEvent_getListTableByStatusId } from "@/app_modules/admin/event/fun/get/get_list_table_by_status_id";
|
||||
|
||||
export default async function Page() {
|
||||
const listReject = await AdminEvent_getListTableByStatusId("4")
|
||||
|
||||
return <>
|
||||
<AdminEvent_TableReject listReject={listReject as any}/>
|
||||
</>
|
||||
}
|
||||
10
src/app/dev/admin/event/table/review/page.tsx
Normal file
10
src/app/dev/admin/event/table/review/page.tsx
Normal file
@@ -0,0 +1,10 @@
|
||||
import { AdminEvent_TableReview } from "@/app_modules/admin/event";
|
||||
import { AdminEvent_getListTableByStatusId } from "@/app_modules/admin/event/fun/get/get_list_table_by_status_id";
|
||||
|
||||
export default async function Page() {
|
||||
const listReview = await AdminEvent_getListTableByStatusId("2")
|
||||
|
||||
return <>
|
||||
<AdminEvent_TableReview listReview={listReview as any}/>
|
||||
</>
|
||||
}
|
||||
Reference in New Issue
Block a user