Correction in EmpProfile.
This commit is contained in:
parent
c4a46cbe80
commit
3c3468f8f9
@ -21,7 +21,7 @@ const EmpActivities = ({ employee }) => {
|
|||||||
if (isLoading) return <div>Loading...</div>
|
if (isLoading) return <div>Loading...</div>
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div className="card h-100 mt-4">
|
<div className="card page-min-h mt-3">
|
||||||
<div className="card-body">
|
<div className="card-body">
|
||||||
<div className="my-0 text-start">
|
<div className="my-0 text-start">
|
||||||
<DateRangePicker
|
<DateRangePicker
|
||||||
|
|||||||
@ -71,7 +71,7 @@ const EmpAttendance = () => {
|
|||||||
<AttendLogs Id={attendanceId} />
|
<AttendLogs Id={attendanceId} />
|
||||||
</GlobalModel>
|
</GlobalModel>
|
||||||
)}
|
)}
|
||||||
<div className="card px-4 mt-5 py-2 " style={{ minHeight: "500px" }}>
|
<div className="card px-4 mt-3 py-2 " style={{ minHeight: "500px" }}>
|
||||||
<div
|
<div
|
||||||
className="dataTables_length text-start py-2 d-flex justify-content-between "
|
className="dataTables_length text-start py-2 d-flex justify-content-between "
|
||||||
id="DataTables_Table_0_length"
|
id="DataTables_Table_0_length"
|
||||||
|
|||||||
@ -18,7 +18,7 @@ const EmpDashboard = ({ profile }) => {
|
|||||||
<EmpOverview profile={profile}></EmpOverview>
|
<EmpOverview profile={profile}></EmpOverview>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="col col-sm-6 pt-5">
|
<div className="col col-sm-6 mt-3">
|
||||||
<div className="card ">
|
<div className="card ">
|
||||||
<div className="card-body">
|
<div className="card-body">
|
||||||
<small className="card-text text-uppercase text-body-secondary small text-start d-block">
|
<small className="card-text text-uppercase text-body-secondary small text-start d-block">
|
||||||
@ -82,7 +82,7 @@ const EmpDashboard = ({ profile }) => {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="col-12 col-sm-6 pt-5">
|
<div className="col-12 col-sm-6 pt-2">
|
||||||
<EmpReportingManager
|
<EmpReportingManager
|
||||||
employeeId={profile?.id}
|
employeeId={profile?.id}
|
||||||
employee={profile}
|
employee={profile}
|
||||||
|
|||||||
@ -6,10 +6,12 @@ import { useParams } from "react-router-dom";
|
|||||||
import { DOCUMENTS_ENTITIES } from "../../utils/constants";
|
import { DOCUMENTS_ENTITIES } from "../../utils/constants";
|
||||||
|
|
||||||
const EmpDocuments = ({ profile, loggedInUser }) => {
|
const EmpDocuments = ({ profile, loggedInUser }) => {
|
||||||
const {employeeId} = useParams()
|
const { employeeId } = useParams()
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Documents Document_Entity={DOCUMENTS_ENTITIES.EmployeeEntity} Entity={employeeId} />
|
<div className="mt-3">
|
||||||
|
<Documents Document_Entity={DOCUMENTS_ENTITIES.EmployeeEntity} Entity={employeeId} />
|
||||||
|
</div>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|||||||
@ -5,7 +5,7 @@ const EmpOverview = ({ profile }) => {
|
|||||||
const { loggedInUserProfile } = useProfile();
|
const { loggedInUserProfile } = useProfile();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="row">
|
<div className="row mt-n2">
|
||||||
<div className="col-12 mb-4">
|
<div className="col-12 mb-4">
|
||||||
<div className="card">
|
<div className="card">
|
||||||
<div className="card-body">
|
<div className="card-body">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user