push dashboard
parent
9b9dfac9e8
commit
0b7ef23096
12
.env
12
.env
|
@ -1,8 +1,8 @@
|
|||
NODE_ENV="development"
|
||||
|
||||
NEXT_PUBLIC_SERVER_URL=http://192.168.88.251:32769
|
||||
NEXT_PUBLIC_PUBLIC_URL=http://192.168.88.251:32769
|
||||
NEXT_PUBLIC_API_URL=http://192.168.88.251:32769/api
|
||||
# NEXT_PUBLIC_SERVER_URL=http://192.168.88.251:32769
|
||||
# NEXT_PUBLIC_PUBLIC_URL=http://192.168.88.251:32769
|
||||
# NEXT_PUBLIC_API_URL=http://192.168.88.251:32769/api
|
||||
|
||||
# SECURE_LOCAL_STORAGE_HASH_KEY=f1da2b2c7a4c446934267fea631102ec389b5b99
|
||||
# NEXT_PUBLIC_API_URL_IMAGE=https://192.168.88.12:49154/Files/ReportImages
|
||||
|
@ -14,8 +14,8 @@ NEXT_PUBLIC_API_URL=http://192.168.88.251:32769/api
|
|||
|
||||
|
||||
|
||||
# NEXT_PUBLIC_SERVER_URL=https://api.brizco.io
|
||||
# NEXT_PUBLIC_PUBLIC_URL=https://api.brizco.io
|
||||
# NEXT_PUBLIC_API_URL=https://api.brizco.io/api
|
||||
NEXT_PUBLIC_SERVER_URL=https://api.brizco.io
|
||||
NEXT_PUBLIC_PUBLIC_URL=https://api.brizco.io
|
||||
NEXT_PUBLIC_API_URL=https://api.brizco.io/api
|
||||
# NEXT_PUBLIC_API_URL_IMAGE=https://api.macsonline.ir/Files/ReportImages
|
||||
# NEXT_PUBLIC_API_URL_BackUp=https://api.macsonline.ir/Files/BackUps
|
|
@ -29,17 +29,19 @@ const NavBAr = (props) => {
|
|||
}, [permissions]);
|
||||
|
||||
return (
|
||||
<div className=" bg-body-100 h-10 z-90 w-full fixed bottom-0">
|
||||
<div
|
||||
className={`fixed w-full z-[110] tr03 ${
|
||||
profileFill ? "bottom-0" : "bottom-[-300px]"
|
||||
className={`fixed px-3 w-full z-[110] tr03 ${
|
||||
profileFill ? "bottom-3" : "bottom-[-300px]"
|
||||
} `}
|
||||
>
|
||||
{/* <div className="w-[100px] text-left overflow-hidden">
|
||||
<Image src={divide} alt="" className=" " />
|
||||
</div> */}
|
||||
<div className="bg-white shadow px-4 py-5 flex rounded-t-[30px] ">
|
||||
|
||||
<div className="bg-white shadow px-4 py-3 flex rounded-[30px] ">
|
||||
{HasPermission("ViewDashboard", permissions) && (
|
||||
<Link href={"/home"} className="w-full !no-underline mr-5">
|
||||
<Link href={"/home"} className="w-full !no-underline">
|
||||
<>
|
||||
{usePath.includes("/home") ? (
|
||||
<div className="flex justify-center w-full">
|
||||
|
@ -82,7 +84,7 @@ const NavBAr = (props) => {
|
|||
</Link>
|
||||
)}
|
||||
{HasPermission("ViewShiftPlans", permissions) && (
|
||||
<Link href={"/shifts"} className="w-full !no-underline mr-10">
|
||||
<Link href={"/shifts"} className="w-full !no-underline">
|
||||
<>
|
||||
{usePath.includes("/shifts") ? (
|
||||
<div className="flex justify-center w-full">
|
||||
|
@ -139,7 +141,7 @@ const NavBAr = (props) => {
|
|||
</Link>
|
||||
)}
|
||||
|
||||
<div
|
||||
{/* <div
|
||||
className="flex justify-center "
|
||||
onClick={() => {
|
||||
openBigPlus();
|
||||
|
@ -160,10 +162,10 @@ const NavBAr = (props) => {
|
|||
/>
|
||||
</svg>
|
||||
</div>
|
||||
</div>
|
||||
</div> */}
|
||||
|
||||
{HasPermission("ViewComplexSettings", permissions) && (
|
||||
<Link href={"/employees"} className="w-full !no-underline ml-10">
|
||||
<Link href={"/employees"} className="w-full !no-underline ">
|
||||
<>
|
||||
{usePath.includes("/employees") ? (
|
||||
<div className="flex justify-center w-full">
|
||||
|
@ -201,7 +203,7 @@ const NavBAr = (props) => {
|
|||
)}
|
||||
|
||||
{HasPermission("ViewActivities", permissions) && (
|
||||
<Link href={"/tasks"} className="w-full !no-underline ml-5">
|
||||
<Link href={"/tasks"} className="w-full !no-underline ">
|
||||
<>
|
||||
{usePath.includes("/tasks") ? (
|
||||
<div className="flex justify-center w-full">
|
||||
|
@ -221,6 +223,7 @@ const NavBAr = (props) => {
|
|||
)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
|
|
|
@ -14,32 +14,18 @@ import { Chart as ChartJS, ArcElement, Tooltip, Legend } from "chart.js";
|
|||
import { Doughnut, Pie } from "react-chartjs-2";
|
||||
import BottomSheetChangeRole from "plugins/BottomSheet/BottomSheetChangeRole";
|
||||
import HasPermission from "plugins/HasPermission/page";
|
||||
import Avatar from "boring-avatars";
|
||||
|
||||
ChartJS.register(ArcElement, Tooltip, Legend);
|
||||
|
||||
export const data = {
|
||||
datasets: [
|
||||
{
|
||||
label: ["پوزیشن"],
|
||||
data: [60, 38, 95, 60, 20, 30],
|
||||
backgroundColor: [
|
||||
"rgba(46, 161, 134, 0.8)",
|
||||
"rgba(52, 115, 101, 0.41)",
|
||||
"rgba(80, 143, 114, 0.61)",
|
||||
"rgba(75, 155, 138, 0.61)",
|
||||
"rgba(85, 155, 138, 0.91)",
|
||||
"rgba(12, 75, 61, 0.51)",
|
||||
],
|
||||
borderColor: [
|
||||
"rgba(255, 99, 132, 1)",
|
||||
"rgba(54, 162, 235, 1)",
|
||||
"rgba(255, 206, 86, 1)",
|
||||
"rgba(75, 192, 192, 1)",
|
||||
"rgba(153, 102, 255, 1)",
|
||||
"rgba(255, 159, 64, 1)",
|
||||
],
|
||||
borderWidth: 1,
|
||||
borderColor: " #356859",
|
||||
label: ["", " "],
|
||||
data: [350, 200],
|
||||
backgroundColor: ["rgba(203, 203, 203, 0.38)", "rgba(222, 193, 72, 1)"],
|
||||
borderColor: ["transparent"],
|
||||
cutout: 35,
|
||||
},
|
||||
],
|
||||
};
|
||||
|
@ -79,66 +65,264 @@ const Home = (props) => {
|
|||
/>
|
||||
|
||||
<div className="bg-body-100 relative top-[-30px] rounded-t-3xl overflow-hidden p-5 rtl">
|
||||
<div className=" p-2 rounded-xl my-3">
|
||||
<div className="m-2">
|
||||
<h2 className="mb-0 font-bold text-base">مسیر فرایند شروع</h2>
|
||||
<div>
|
||||
<div className="bg-white p-3 rounded-full shadow">
|
||||
<div className="flex justify-between">
|
||||
<div className="flex">
|
||||
<div className="w-[50px] h-[50px] rounded-full bg-white border-[5px]">
|
||||
<div className=" rounded-full z-10 ">
|
||||
<Avatar
|
||||
size={40}
|
||||
name={"حسین"}
|
||||
variant="beam"
|
||||
colors={["#9d9f88", "#83af96", "#b2de93"]}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div className="w-[50px] h-[50px] rounded-full bg-white border-[5px] absolute mr-[30px]">
|
||||
<div className=" rounded-full z-10 ">
|
||||
<Avatar
|
||||
size={40}
|
||||
name={"skasd"}
|
||||
variant="beam"
|
||||
colors={["#9d9f88", "#83af96", "#b2de93"]}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div className="w-[50px] h-[50px] rounded-full bg-white border-[5px] absolute mr-[60px]">
|
||||
<div className=" rounded-full z-10 ">
|
||||
<Avatar
|
||||
size={40}
|
||||
name={"daerfgf"}
|
||||
variant="beam"
|
||||
colors={["#9d9f88", "#83af96", "#b2de93"]}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div className="w-[50px] h-[50px] rounded-full bg-white border-[5px] absolute mr-[90px]">
|
||||
<div className=" rounded-full z-10 ">
|
||||
<Avatar
|
||||
size={40}
|
||||
name={"wwwe"}
|
||||
variant="beam"
|
||||
colors={["#9d9f88", "#83af96", "#b2de93"]}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p className="mb-0 text-sm text-gray-600 mt-2">
|
||||
شما
|
||||
<PersianNumber number={60} style="font-bold mx-1" />
|
||||
درصد از فرایند شروع را انجام داده اید
|
||||
<div className="mt-4 ml-[40px]">
|
||||
<h2 className="font-bold text-gray-600">
|
||||
<PersianNumber
|
||||
number={12}
|
||||
style={"!text-[25px] font-bold ml-1"}
|
||||
/>
|
||||
در شیفت عصر
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div className="mt-5">
|
||||
<h3 className="text-right p-3 font-medium">شنبه 20 فروردین 1403</h3>
|
||||
<div className="grid xs:grid-cols-2 gap-4 rtl">
|
||||
<div>
|
||||
<div className="bg-dahs-chart rounded-2xl p-2 h-[195px]">
|
||||
<div className="flex justify-center ">
|
||||
<div className="absolute mt-[40px]">
|
||||
<h2 className="text-lg text-white">
|
||||
<PersianNumber number={10} />
|
||||
<small className="text-white text-[11px] ml-1">%</small>
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex justify-center">
|
||||
<div className="w-[100px]">
|
||||
<Doughnut data={data} />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="mt-3">
|
||||
<p className="mb-0 text-gray-300 text-[10px] text-center">
|
||||
مجموعه شما امروز
|
||||
<PersianNumber number={25} style="!text-[10px] mx-[3px]" />
|
||||
فعالیت فعال دارد
|
||||
</p>
|
||||
</div>
|
||||
<div className=" border-[2px] border-primary-300 opacity-70 p-3 rounded-full z-10 relative"></div>
|
||||
<div className="relative flex justify-end">
|
||||
<div className=" bg-secondary-100 absolute w-[70%] p-3 rounded-full mt-[-26px] z-0"></div>
|
||||
</div>
|
||||
|
||||
<div className="flex justify-end mt-3">
|
||||
<p className="mb-0 w-fit text-sm">ادامه فرایند</p>
|
||||
<div className="bg-[#d4818138] p-4 rounded-2xl mt-4">
|
||||
<p className="mb-0 text-center text-[#c20000] text-sm">
|
||||
بستن شیفت
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="">
|
||||
<div className="bg-[#d19751] p-3 rounded-2xl">
|
||||
<div>
|
||||
{" "}
|
||||
<svg
|
||||
width="12"
|
||||
height="12"
|
||||
viewBox="0 0 11 18"
|
||||
width="30"
|
||||
height="36"
|
||||
viewBox="0 0 250 226"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
className=" mt-[3px] mx-1"
|
||||
>
|
||||
<path d="M10 1L2 9L10 17" stroke="#555555" stroke-width="2" />
|
||||
<path
|
||||
d="M246.5 100.625L196.375 13.1249C194.231 9.27721 191.093 6.0758 187.289 3.85501C183.485 1.63421 179.155 0.475501 174.75 0.499889H75C70.5953 0.475501 66.2649 1.63421 62.461 3.85501C58.657 6.0758 55.5191 9.27721 53.375 13.1249L34.25 46.4999L24.25 63.8749L3.25002 100.625C1.129 104.405 0.010209 108.665 2.51422e-05 113C-0.00611845 117.337 1.11374 121.601 3.25002 125.375L24.25 162.125L34.25 179.5L53.375 212.875C55.5191 216.723 58.657 219.924 62.461 222.145C66.2649 224.366 70.5953 225.524 75 225.5H174.75C179.155 225.524 183.485 224.366 187.289 222.145C191.093 219.924 194.231 216.723 196.375 212.875L246.5 125.375C248.636 121.601 249.756 117.337 249.75 113C249.784 108.66 248.663 104.388 246.5 100.625ZM191.7 175.3L191.775 175.25L191.725 175.337L191.7 175.3ZM228.5 113L191.813 175.175C190.338 175.3 188.888 175.5 187.375 175.5C171.025 175.49 155.331 169.065 143.668 157.607C132.004 146.149 125.301 130.572 125 114.225V112.75C124.921 96.2213 118.303 80.396 106.592 68.7318C94.8805 57.0676 79.0288 50.5129 62.5 50.4999C61.2027 50.5568 59.9092 50.682 58.625 50.8749L73.625 25.4999H176.875L228.625 113H228.5Z"
|
||||
fill="#EBEBEB"
|
||||
/>
|
||||
</svg>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className=" rounded-2xl p-3">
|
||||
<div className="flex justify-between ">
|
||||
<div>
|
||||
<div className="flex mt-3">
|
||||
<div className="w-[35px] h-[10px] mt-2 bg-primary-300 rounded-full"></div>
|
||||
<p className="mb-0 text-sm mx-2"> پوزیشن</p>
|
||||
<p className="mb-0 text-white text-[12px] mt-3 font-medium">
|
||||
کل شیفت های مجموعه{" "}
|
||||
</p>
|
||||
</div>
|
||||
<div className="flex mt-3">
|
||||
<div className="w-[15px] h-[10px] mt-2 bg-primary-300 rounded-full"></div>
|
||||
<p className="mb-0 text-sm mx-2"> سکشن</p>
|
||||
</div>
|
||||
<div className="flex mt-3">
|
||||
<div className="w-[20px] h-[10px] mt-2 bg-primary-300 rounded-full"></div>
|
||||
<p className="mb-0 text-sm mx-2"> روتین</p>
|
||||
<div className="bg-[#279e96] p-3 rounded-2xl mt-3">
|
||||
<div>
|
||||
<svg
|
||||
width="30"
|
||||
height="36"
|
||||
viewBox="0 0 251 226"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
>
|
||||
<path
|
||||
d="M246.65 100.5L196.612 13.0002C194.463 9.19349 191.338 6.02857 187.559 3.83143C183.78 1.63429 179.483 0.48438 175.112 0.50016H75.062C70.6812 0.545125 66.3859 1.71914 62.5912 3.9088C58.7966 6.09846 55.6307 9.22974 53.3995 13.0002L3.36204 100.5C1.16661 104.3 0.0107422 108.611 0.0107422 113C0.0107422 117.389 1.16661 121.7 3.36204 125.5L53.3995 213C55.6307 216.771 58.7966 219.902 62.5912 222.092C66.3859 224.281 70.6812 225.455 75.062 225.5H175.137C179.507 225.515 183.801 224.365 187.578 222.167C191.355 219.97 194.478 216.806 196.625 213L246.662 125.5C248.857 121.7 250.013 117.389 250.013 113C250.013 108.611 248.845 104.3 246.65 100.5ZM175 200.5H74.9995L24.9995 113L74.9995 25.5002H175L225 113L175 200.5Z"
|
||||
fill="#EBEBEB"
|
||||
/>
|
||||
</svg>
|
||||
</div>
|
||||
<div className="flex mt-3">
|
||||
<div className="w-[70px] h-[10px] mt-2 bg-primary-300 rounded-full"></div>
|
||||
<p className="mb-0 text-sm mx-2"> یوزر</p>
|
||||
|
||||
<div>
|
||||
<p className="mb-0 text-gray-100 text-[12px] mt-3">
|
||||
کل تسک های مجموعه{" "}
|
||||
</p>
|
||||
</div>
|
||||
<div className="flex mt-3">
|
||||
<div className="w-[10px] h-[10px] mt-2 bg-primary-300 rounded-full"></div>
|
||||
<p className="mb-0 text-sm mx-2"> شبفت</p>
|
||||
</div>{" "}
|
||||
<div className="bg-[#75a29f46] p-4 rounded-2xl mt-4">
|
||||
<p className="mb-0 text-center text-[#006e67] text-sm font-medium">
|
||||
افزودن تسک{" "}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="w-[190px]">
|
||||
<Doughnut data={data} />
|
||||
<div className="col-span-2">
|
||||
<div className="bg-[#e4be8f34] p-4 rounded-2xl ">
|
||||
<p className="mb-0 text-center text-[#66451d] text-sm font-medium">
|
||||
شیفت بندی هفته{" "}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3 className="text-right p-3 font-medium mt-4">گزارش های مجموعه</h3>
|
||||
|
||||
<div className="rtl mt-2">
|
||||
<div className="flex ">
|
||||
<div className="w-[50px] h-[50px] rounded-2xl bg-white shadow">
|
||||
<svg
|
||||
width="25"
|
||||
height="25"
|
||||
viewBox="0 0 251 226"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
className="mx-auto mt-3"
|
||||
s
|
||||
>
|
||||
<path
|
||||
d="M246.65 100.5L196.612 13.0002C194.463 9.19349 191.338 6.02857 187.559 3.83143C183.78 1.63429 179.483 0.48438 175.112 0.50016H75.062C70.6812 0.545125 66.3859 1.71914 62.5912 3.9088C58.7966 6.09846 55.6307 9.22974 53.3995 13.0002L3.36204 100.5C1.16661 104.3 0.0107422 108.611 0.0107422 113C0.0107422 117.389 1.16661 121.7 3.36204 125.5L53.3995 213C55.6307 216.771 58.7966 219.902 62.5912 222.092C66.3859 224.281 70.6812 225.455 75.062 225.5H175.137C179.507 225.515 183.801 224.365 187.578 222.167C191.355 219.97 194.478 216.806 196.625 213L246.662 125.5C248.857 121.7 250.013 117.389 250.013 113C250.013 108.611 248.845 104.3 246.65 100.5ZM175 200.5H74.9995L24.9995 113L74.9995 25.5002H175L225 113L175 200.5Z"
|
||||
fill="#ABABAB"
|
||||
/>
|
||||
<path
|
||||
d="M112 63.5C112 56.5964 117.596 51 124.5 51V51C131.404 51 137 56.5964 137 63.5V126C137 132.904 131.404 138.5 124.5 138.5V138.5C117.596 138.5 112 132.904 112 126V63.5Z"
|
||||
fill="#ABABAB"
|
||||
/>
|
||||
<path
|
||||
d="M124.5 173C131.404 173 137 167.404 137 160.5C137 153.596 131.404 148 124.5 148C117.596 148 112 153.596 112 160.5C112 167.404 117.596 173 124.5 173Z"
|
||||
fill="#ABABAB"
|
||||
/>
|
||||
</svg>
|
||||
</div>
|
||||
<div className="mx-2 mt-1">
|
||||
<h3 className="text-sm font-bold "> شیفت های بسته شده</h3>
|
||||
<p className="mb-0 text-right text-sm text-gray-500">
|
||||
خروجی اکسل
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="rtl mt-4">
|
||||
<div className="flex ">
|
||||
<div className="w-[50px] h-[50px] rounded-2xl bg-white shadow">
|
||||
<svg
|
||||
width="25"
|
||||
height="25"
|
||||
viewBox="0 0 251 226"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
className="mx-auto mt-3"
|
||||
s
|
||||
>
|
||||
<path
|
||||
d="M246.65 100.5L196.612 13.0002C194.463 9.19349 191.338 6.02857 187.559 3.83143C183.78 1.63429 179.483 0.48438 175.112 0.50016H75.062C70.6812 0.545125 66.3859 1.71914 62.5912 3.9088C58.7966 6.09846 55.6307 9.22974 53.3995 13.0002L3.36204 100.5C1.16661 104.3 0.0107422 108.611 0.0107422 113C0.0107422 117.389 1.16661 121.7 3.36204 125.5L53.3995 213C55.6307 216.771 58.7966 219.902 62.5912 222.092C66.3859 224.281 70.6812 225.455 75.062 225.5H175.137C179.507 225.515 183.801 224.365 187.578 222.167C191.355 219.97 194.478 216.806 196.625 213L246.662 125.5C248.857 121.7 250.013 117.389 250.013 113C250.013 108.611 248.845 104.3 246.65 100.5ZM175 200.5H74.9995L24.9995 113L74.9995 25.5002H175L225 113L175 200.5Z"
|
||||
fill="#ABABAB"
|
||||
/>
|
||||
<path
|
||||
d="M112 63.5C112 56.5964 117.596 51 124.5 51V51C131.404 51 137 56.5964 137 63.5V126C137 132.904 131.404 138.5 124.5 138.5V138.5C117.596 138.5 112 132.904 112 126V63.5Z"
|
||||
fill="#ABABAB"
|
||||
/>
|
||||
<path
|
||||
d="M124.5 173C131.404 173 137 167.404 137 160.5C137 153.596 131.404 148 124.5 148C117.596 148 112 153.596 112 160.5C112 167.404 117.596 173 124.5 173Z"
|
||||
fill="#ABABAB"
|
||||
/>
|
||||
</svg>
|
||||
</div>
|
||||
<div className="mx-2 mt-1">
|
||||
<h3 className="text-sm font-bold "> تسک های مجموعه</h3>
|
||||
<p className="mb-0 text-right text-sm text-gray-500">
|
||||
خروجی اکسل
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="rtl mt-4">
|
||||
<div className="flex ">
|
||||
<div className="w-[50px] h-[50px] rounded-2xl bg-white shadow">
|
||||
<svg
|
||||
width="25"
|
||||
height="25"
|
||||
viewBox="0 0 251 226"
|
||||
fill="none"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
className="mx-auto mt-3"
|
||||
s
|
||||
>
|
||||
<path
|
||||
d="M246.65 100.5L196.612 13.0002C194.463 9.19349 191.338 6.02857 187.559 3.83143C183.78 1.63429 179.483 0.48438 175.112 0.50016H75.062C70.6812 0.545125 66.3859 1.71914 62.5912 3.9088C58.7966 6.09846 55.6307 9.22974 53.3995 13.0002L3.36204 100.5C1.16661 104.3 0.0107422 108.611 0.0107422 113C0.0107422 117.389 1.16661 121.7 3.36204 125.5L53.3995 213C55.6307 216.771 58.7966 219.902 62.5912 222.092C66.3859 224.281 70.6812 225.455 75.062 225.5H175.137C179.507 225.515 183.801 224.365 187.578 222.167C191.355 219.97 194.478 216.806 196.625 213L246.662 125.5C248.857 121.7 250.013 117.389 250.013 113C250.013 108.611 248.845 104.3 246.65 100.5ZM175 200.5H74.9995L24.9995 113L74.9995 25.5002H175L225 113L175 200.5Z"
|
||||
fill="#ABABAB"
|
||||
/>
|
||||
<path
|
||||
d="M112 63.5C112 56.5964 117.596 51 124.5 51V51C131.404 51 137 56.5964 137 63.5V126C137 132.904 131.404 138.5 124.5 138.5V138.5C117.596 138.5 112 132.904 112 126V63.5Z"
|
||||
fill="#ABABAB"
|
||||
/>
|
||||
<path
|
||||
d="M124.5 173C131.404 173 137 167.404 137 160.5C137 153.596 131.404 148 124.5 148C117.596 148 112 153.596 112 160.5C112 167.404 117.596 173 124.5 173Z"
|
||||
fill="#ABABAB"
|
||||
/>
|
||||
</svg>
|
||||
</div>
|
||||
<div className="mx-2 mt-1">
|
||||
<h3 className="text-sm font-bold ">کارمند های مجموعه</h3>
|
||||
<p className="mb-0 text-right text-sm text-gray-500">
|
||||
خروجی اکسل
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1763,7 +1763,7 @@ export default function RootLayout({ children }) {
|
|||
<BottomSheetReport />
|
||||
|
||||
{openTimePicker && <TimePicker />}
|
||||
{BigPlusOpen ? (
|
||||
{/* {BigPlusOpen ? (
|
||||
<div className="fixed w-full top-0 z-[120] ">
|
||||
<motion.div
|
||||
animate={{ opacity: [0, 0.5, 1] }}
|
||||
|
@ -1832,7 +1832,7 @@ export default function RootLayout({ children }) {
|
|||
</div>
|
||||
) : (
|
||||
""
|
||||
)}
|
||||
)} */}
|
||||
</body>
|
||||
</html>
|
||||
</AppContext.Provider>
|
||||
|
|
|
@ -85,40 +85,18 @@ const Shifts = (props) => {
|
|||
}}
|
||||
/>
|
||||
|
||||
<div className="bg-body-100 relative top-[-30px] rounded-t-3xl overflow-hidden p-4 rtl mt-2">
|
||||
{HasPermission("ManageShiftPlans", permissions) && (
|
||||
<>
|
||||
<div className="bg-primary-300 flex whitespace-nowrap rtl p-3">
|
||||
<Link
|
||||
href={"/shifts/manage-shift"}
|
||||
className=" bg-white rounded-3xl p-5 inline-block w-fit relative top-[-32px] mx-2"
|
||||
>
|
||||
<div>
|
||||
<h2 className="text-sm"> شیفت هفته </h2>
|
||||
|
||||
<div className="flex justify-end">
|
||||
<div className="w-10 h-3 rounded-full bg-secondary-200 opacity-30"></div>
|
||||
</div>
|
||||
<Link href={"/shifts/manage-shift"}>
|
||||
<div className="bg-[#e4be8f34] p-4 rounded-2xl ">
|
||||
<p className="mb-0 text-center text-[#66451d] text-sm font-medium">
|
||||
شیفت بندی هفته{" "}
|
||||
</p>
|
||||
</div>
|
||||
</Link>
|
||||
<Link
|
||||
href={"/shifts/manage-shift"}
|
||||
className=" bg-white rounded-3xl p-5 inline-block w-fit relative top-[-32px]"
|
||||
>
|
||||
<div>
|
||||
<h2 className="text-sm">
|
||||
{" "}
|
||||
شیفت بعدی
|
||||
<strong> هفته بعد </strong>
|
||||
</h2>
|
||||
<div className="flex justify-end">
|
||||
<div className="w-5 h-3 rounded-full bg-secondary-100 opacity-30"></div>
|
||||
</div>{" "}
|
||||
</div>
|
||||
</Link>
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
<div className="bg-body-100 relative top-[-30px] rounded-t-3xl overflow-hidden p-4 rtl mt-2">
|
||||
{shiftplans.length <= 0 ? (
|
||||
<div className="flex justify-center py-5">
|
||||
<div className="bg-white shadow mt-5 w-fit rounded-full text-sm p-4">
|
||||
|
|
|
@ -459,3 +459,14 @@ body {
|
|||
background-size: cover;
|
||||
background-image: url(../public/images/bg.png);
|
||||
}
|
||||
|
||||
.bg-dahs-chart {
|
||||
background-image: radial-gradient(
|
||||
circle,
|
||||
#b16a62,
|
||||
#b8645a,
|
||||
#be5e52,
|
||||
#c45749,
|
||||
#c95040
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue