add damages
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
import WithPermission from "@/core/middlewares/withPermission";
|
||||
import ActivityCodeLog from "@/core/components/ActivityCodeLog";
|
||||
import OperatorPage from "@/components/dashboard/damages/operator";
|
||||
import ActivityCodeLog from "@/core/components/ActivityCodeLog";
|
||||
import WithPermission from "@/core/middlewares/withPermission";
|
||||
export const metadata = {
|
||||
title: "کارتابل عملیات خسارات وارد بر ابنیه فنی",
|
||||
};
|
||||
const Page = () => {
|
||||
return (
|
||||
<WithPermission permission_name={["all"]}>
|
||||
<WithPermission permission_name={["show-receipt", "show-receipt-province"]}>
|
||||
<OperatorPage />
|
||||
{/*<ActivityCodeLog activity_code={1152} /> change permission */}
|
||||
<ActivityCodeLog activity_code={1122} /> change permission
|
||||
</WithPermission>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -477,17 +477,17 @@ export const pageMenu = [
|
||||
id: "receiptManagmentOparationCartable",
|
||||
label: "کارتابل",
|
||||
type: "page",
|
||||
route: process.env.NEXT_PUBLIC_API_URL + "/v2/receipt",
|
||||
permissions: ["all"],
|
||||
route: "/dashboard/damages/operator",
|
||||
permissions: ["show-receipt", "show-receipt-province"],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "receiptManagmentReport",
|
||||
id: "damagesManagmentReport",
|
||||
label: "گزارش ها",
|
||||
type: "page",
|
||||
route: "/dashboard/damages/report",
|
||||
icon: <ReportIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||
icon: <AssessmentIcon sx={{ width: "inherit", height: "inherit" }} />,
|
||||
permissions: ["show-receipt", "show-receipt-province"],
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user