Merge pull request 'Changes in the employee popup size.' (#221) from Kartik_Bug#524 into Issues_Jun_3W

Reviewed-on: #221
This commit is contained in:
Vikas Nale 2025-06-30 11:16:51 +00:00
commit 7dffae8957
2 changed files with 415 additions and 409 deletions

View File

@ -172,8 +172,7 @@ const ManageEmployee = ({ employeeId, onClosed }) => {
.then((response) => {
cacheData("employeeProfileInfo", data);
showToast(
`Employee details ${
data.id == null ? "created" : "updated"
`Employee details ${data.id == null ? "created" : "updated"
} successfully.`,
"success"
);
@ -239,7 +238,14 @@ const ManageEmployee = ({ employeeId, onClosed }) => {
<p>Loading Employee Data...</p>
)} */}
<form onSubmit={handleSubmit( onSubmit )} className="p-sm-0 p-2">
<form onSubmit={handleSubmit(onSubmit)} className="p-sm-5 p-2 position-relative">
{/* Cross button */}
<button
type="button"
className="btn-close position-absolute top-0 end-0 m-2"
aria-label="Close"
onClick={onClosed}
></button>
<div className="text-center"><p className="fs-6 fw-semibold"> {employee ? "Update Employee" : "Create Employee"}</p></div>
<div className="row mb-3">
<div className="col-sm-4">

View File

@ -112,7 +112,7 @@ const TaskPlannng = () => {
<Breadcrumb
data={[
{ label: "Home", link: "/dashboard" },
{ label: "Daily Task Planning", link: "/activities/task" },
{ label: "Daily Task Planning" }
]}
></Breadcrumb>
{project_listLoader && <p>Loading..</p>}