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>
|
||||
return (
|
||||
<>
|
||||
<div className="card h-100 mt-4">
|
||||
<div className="card page-min-h mt-3">
|
||||
<div className="card-body">
|
||||
<div className="my-0 text-start">
|
||||
<DateRangePicker
|
||||
|
||||
@ -71,7 +71,7 @@ const EmpAttendance = () => {
|
||||
<AttendLogs Id={attendanceId} />
|
||||
</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
|
||||
className="dataTables_length text-start py-2 d-flex justify-content-between "
|
||||
id="DataTables_Table_0_length"
|
||||
|
||||
@ -18,7 +18,7 @@ const EmpDashboard = ({ profile }) => {
|
||||
<EmpOverview profile={profile}></EmpOverview>
|
||||
</div>
|
||||
|
||||
<div className="col col-sm-6 pt-5">
|
||||
<div className="col col-sm-6 mt-3">
|
||||
<div className="card ">
|
||||
<div className="card-body">
|
||||
<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 className="col-12 col-sm-6 pt-5">
|
||||
<div className="col-12 col-sm-6 pt-2">
|
||||
<EmpReportingManager
|
||||
employeeId={profile?.id}
|
||||
employee={profile}
|
||||
|
||||
@ -6,10 +6,12 @@ import { useParams } from "react-router-dom";
|
||||
import { DOCUMENTS_ENTITIES } from "../../utils/constants";
|
||||
|
||||
const EmpDocuments = ({ profile, loggedInUser }) => {
|
||||
const {employeeId} = useParams()
|
||||
const { employeeId } = useParams()
|
||||
return (
|
||||
<>
|
||||
<div className="mt-3">
|
||||
<Documents Document_Entity={DOCUMENTS_ENTITIES.EmployeeEntity} Entity={employeeId} />
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
@ -5,7 +5,7 @@ const EmpOverview = ({ profile }) => {
|
||||
const { loggedInUserProfile } = useProfile();
|
||||
|
||||
return (
|
||||
<div className="row">
|
||||
<div className="row mt-n2">
|
||||
<div className="col-12 mb-4">
|
||||
<div className="card">
|
||||
<div className="card-body">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user