update
This commit is contained in:
parent
1cdf63f00d
commit
059ddd0fa1
@ -60,7 +60,10 @@ const [userType, setUserType] = useState("");
|
||||
<div className="col-12">
|
||||
<div className="page-title-box d-flex align-items-center justify-content-between">
|
||||
<div style={{ fontSize: "22px" }} className="fw-bold">
|
||||
{userType} Attendance
|
||||
{userType === "SalesCoOrdinator"
|
||||
? "Sales Coordinator"
|
||||
: "Territory Manager"}{" "}
|
||||
Attendance
|
||||
<div style={{ fontSize: "16px", marginTop: "5px" }}>
|
||||
{user.name} ({user.email})
|
||||
</div>
|
||||
|
@ -182,11 +182,7 @@ const TodayAttendance = () => {
|
||||
)}
|
||||
</td>
|
||||
<td className="text-start">
|
||||
{attendance?.user?.userType || (
|
||||
<small className="m-0 text-secondary">
|
||||
No Designation Added!
|
||||
</small>
|
||||
)}
|
||||
{attendance?.user?.userType === "SalesCoOrdinator"?"Sales Coordinator":"Territory Manager"}
|
||||
</td>
|
||||
<td className="text-start">
|
||||
{attendance?.time || (
|
||||
|
@ -60,7 +60,7 @@ const [userType, setUserType] = useState("");
|
||||
<div className="col-12">
|
||||
<div className="page-title-box d-flex align-items-center justify-content-between">
|
||||
<div style={{ fontSize: "22px" }} className="fw-bold">
|
||||
{userType} Leave
|
||||
{userType === "SalesCoOrdinator"?"Sales Coordinator":"Territory Manager"} Leave
|
||||
<div style={{ fontSize: "16px", marginTop: "5px" }}>
|
||||
{user.name} ({user.email})
|
||||
</div>
|
||||
|
@ -183,11 +183,7 @@ const TodayLeave = () => {
|
||||
)}
|
||||
</td>
|
||||
<td className="text-start">
|
||||
{leave?.user?.userType || (
|
||||
<small className="m-0 text-secondary">
|
||||
No Position Added!
|
||||
</small>
|
||||
)}
|
||||
{leave?.user?.userType === "SalesCoOrdinator"? "Sales Coordinator" : "Territory Manager"}
|
||||
</td>
|
||||
<td className="text-start">
|
||||
{leave?.time || (
|
||||
|
Loading…
Reference in New Issue
Block a user