removed console warning
This commit is contained in:
parent
c1ae9ee55e
commit
07ba95e533
@ -78,7 +78,7 @@ const CollectionOverview = ({ data, isLoading }) => {
|
|||||||
tooltip: {
|
tooltip: {
|
||||||
custom: ({ series, seriesIndex, dataPointIndex }) => {
|
custom: ({ series, seriesIndex, dataPointIndex }) => {
|
||||||
return `
|
return `
|
||||||
<div class="px-2 py-1">
|
<div className="px-2 py-1">
|
||||||
<strong>${labels[dataPointIndex]}</strong><br>
|
<strong>${labels[dataPointIndex]}</strong><br>
|
||||||
₹${series[seriesIndex][dataPointIndex].toLocaleString()}
|
₹${series[seriesIndex][dataPointIndex].toLocaleString()}
|
||||||
</div>
|
</div>
|
||||||
@ -235,7 +235,7 @@ export const TopicBarChart = ({ data,isLoading }) => {
|
|||||||
enabled: true,
|
enabled: true,
|
||||||
custom: ({ series, seriesIndex, dataPointIndex }) => {
|
custom: ({ series, seriesIndex, dataPointIndex }) => {
|
||||||
return `
|
return `
|
||||||
<div class="px-3 py-2">
|
<div className="px-3 py-2">
|
||||||
<span>₹${series[seriesIndex][
|
<span>₹${series[seriesIndex][
|
||||||
dataPointIndex
|
dataPointIndex
|
||||||
].toLocaleString()}</span>
|
].toLocaleString()}</span>
|
||||||
@ -256,8 +256,8 @@ export const TopicBarChart = ({ data,isLoading }) => {
|
|||||||
return (
|
return (
|
||||||
<div className="row p-2">
|
<div className="row p-2">
|
||||||
<div className="col-md-8">
|
<div className="col-md-8">
|
||||||
<div class="card-header d-flex align-items-center justify-content-between">
|
<div className="card-header d-flex align-items-center justify-content-between">
|
||||||
<h5 class="card-title m-0 me-2">Collection Overview</h5>
|
<h5 className="card-title m-0 me-2">Collection Overview</h5>
|
||||||
</div>
|
</div>
|
||||||
<div className="w-100 d-flex align-items-center text-start px-6">
|
<div className="w-100 d-flex align-items-center text-start px-6">
|
||||||
<p className="text-secondary fs-6 m-0">Due Amount</p>
|
<p className="text-secondary fs-6 m-0">Due Amount</p>
|
||||||
@ -274,7 +274,7 @@ export const TopicBarChart = ({ data,isLoading }) => {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="col-md-4 d-flex flex-column gap-2">
|
<div className="col-md-4 d-flex flex-column gap-2">
|
||||||
<div class="card-header d-flex align-items-end justify-content-between"></div>
|
<div className="card-header d-flex align-items-end justify-content-between"></div>
|
||||||
<div className="p-1 m-1 text-start">
|
<div className="p-1 m-1 text-start">
|
||||||
<small className="fw-medium">Overdue Days</small>
|
<small className="fw-medium">Overdue Days</small>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -25,10 +25,6 @@ const Sidebar = () => {
|
|||||||
/>
|
/>
|
||||||
</span> */}
|
</span> */}
|
||||||
|
|
||||||
<a
|
|
||||||
href="/"
|
|
||||||
className="app-brand-link d-flex align-items-center gap-1 fw-bold navbar-brand "
|
|
||||||
>
|
|
||||||
<span className="app-brand-logo demo d-flex align-items-center">
|
<span className="app-brand-logo demo d-flex align-items-center">
|
||||||
<img
|
<img
|
||||||
src="/img/brand/marco.png"
|
src="/img/brand/marco.png"
|
||||||
@ -43,7 +39,6 @@ const Sidebar = () => {
|
|||||||
<span className="mx-1">Work</span>
|
<span className="mx-1">Work</span>
|
||||||
<span className="text-dark">.com</span>
|
<span className="text-dark">.com</span>
|
||||||
</span>
|
</span>
|
||||||
</a>
|
|
||||||
</Link>
|
</Link>
|
||||||
|
|
||||||
<small className="layout-menu-toggle menu-link text-large ms-auto cursor-pointer">
|
<small className="layout-menu-toggle menu-link text-large ms-auto cursor-pointer">
|
||||||
|
|||||||
@ -42,8 +42,8 @@ const ReportDPR = ({ project, date }) => {
|
|||||||
footer=""
|
footer=""
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div class="card px-3 border-top border-warning">
|
<div className="card px-3 border-top border-warning">
|
||||||
<h4 class="reports-card-title">Attendance Pending Report</h4>
|
<h4 className="reports-card-title">Attendance Pending Report</h4>
|
||||||
<p>Team member present</p>
|
<p>Team member present</p>
|
||||||
<div className="d-flex flex-column gap-2">
|
<div className="d-flex flex-column gap-2">
|
||||||
<div className="d-flex justify-content-between">
|
<div className="d-flex justify-content-between">
|
||||||
@ -70,7 +70,7 @@ const ReportDPR = ({ project, date }) => {
|
|||||||
<div className="reports-card">
|
<div className="reports-card">
|
||||||
{/* {/* <!-- Row 1: Header */}
|
{/* {/* <!-- Row 1: Header */}
|
||||||
<div>
|
<div>
|
||||||
<h4 class="reports-card-title">Team Strength on Site</h4>
|
<h4 className="reports-card-title">Team Strength on Site</h4>
|
||||||
</div>
|
</div>
|
||||||
<table style={{ width: "100%" }}>
|
<table style={{ width: "100%" }}>
|
||||||
<tbody>
|
<tbody>
|
||||||
@ -101,8 +101,8 @@ const ReportDPR = ({ project, date }) => {
|
|||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{data?.performedAttendance?.map((att) => (
|
{data?.performedAttendance?.map((att,index) => (
|
||||||
<tr>
|
<tr key={att.index + att.name}>
|
||||||
<td>{att.name}</td>
|
<td>{att.name}</td>
|
||||||
<td>{att.roleName}</td>
|
<td>{att.roleName}</td>
|
||||||
<td>{formatUTCToLocalTime(att.inTime, true)}</td>
|
<td>{formatUTCToLocalTime(att.inTime, true)}</td>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user