Feature/user log entrance
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
import AzmayeshPage from "@/components/dashboard/azmayesh";
|
||||
import WithPermission from "@/core/middlewares/withPermission";
|
||||
import ActivityCodeLog from "@/core/components/ActivityCodeLog";
|
||||
|
||||
const Page = () => {
|
||||
return (
|
||||
<WithPermission permission_name={["azmayesh-management"]}>
|
||||
<AzmayeshPage />
|
||||
<ActivityCodeLog activity_code={1157} />
|
||||
</WithPermission>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
import AzmayeshTypePage from "@/components/dashboard/azmayeshType";
|
||||
import WithPermission from "@/core/middlewares/withPermission";
|
||||
import ActivityCodeLog from "@/core/components/ActivityCodeLog";
|
||||
|
||||
const Page = () => {
|
||||
return (
|
||||
<WithPermission permission_name={["azmayesh-type-management"]}>
|
||||
<AzmayeshTypePage />
|
||||
<ActivityCodeLog activity_code={1161} />
|
||||
</WithPermission>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
import WithPermission from "@/core/middlewares/withPermission";
|
||||
import OperatorPage from "@/components/dashboard/roadItems/operator";
|
||||
import ActivityCodeLog from "@/core/components/ActivityCodeLog";
|
||||
const Page = () => {
|
||||
return (
|
||||
<WithPermission permission_name={["create-road-item"]}>
|
||||
<OperatorPage />
|
||||
<ActivityCodeLog activity_code={1152} />
|
||||
</WithPermission>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
import WithPermission from "@/core/middlewares/withPermission";
|
||||
import SupervisorPage from "@/components/dashboard/roadItems/supervisor";
|
||||
import ActivityCodeLog from "@/core/components/ActivityCodeLog";
|
||||
const Page = () => {
|
||||
return (
|
||||
<WithPermission
|
||||
permission_name={["show-road-item-supervise-cartable", "show-road-item-supervise-cartable-province"]}
|
||||
>
|
||||
<SupervisorPage />
|
||||
<ActivityCodeLog activity_code={1148} />
|
||||
</WithPermission>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
import WithPermission from "@/core/middlewares/withPermission";
|
||||
import OperatorPage from "@/components/dashboard/roadPatrols/operator";
|
||||
import ActivityCodeLog from "@/core/components/ActivityCodeLog";
|
||||
|
||||
const Page = () => {
|
||||
return (
|
||||
<WithPermission permission_name={["add-road-patrol"]}>
|
||||
<OperatorPage />
|
||||
<ActivityCodeLog activity_code={1145} />
|
||||
</WithPermission>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
import WithPermission from "@/core/middlewares/withPermission";
|
||||
import SupervisorPage from "@/components/dashboard/roadPatrols/supervisor";
|
||||
import ActivityCodeLog from "@/core/components/ActivityCodeLog";
|
||||
const Page = () => {
|
||||
return (
|
||||
<WithPermission permission_name={["show-road-patrol-supervise-cartable"]}>
|
||||
<SupervisorPage />
|
||||
<ActivityCodeLog activity_code={1143} />
|
||||
</WithPermission>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user