IO-1911 Tickets scoreboard updates.
This commit is contained in:
@@ -40785,6 +40785,27 @@
|
|||||||
</translation>
|
</translation>
|
||||||
</translations>
|
</translations>
|
||||||
</concept_node>
|
</concept_node>
|
||||||
|
<concept_node>
|
||||||
|
<name>calendarperiod</name>
|
||||||
|
<definition_loaded>false</definition_loaded>
|
||||||
|
<description></description>
|
||||||
|
<comment></comment>
|
||||||
|
<default_text></default_text>
|
||||||
|
<translations>
|
||||||
|
<translation>
|
||||||
|
<language>en-US</language>
|
||||||
|
<approved>false</approved>
|
||||||
|
</translation>
|
||||||
|
<translation>
|
||||||
|
<language>es-MX</language>
|
||||||
|
<approved>false</approved>
|
||||||
|
</translation>
|
||||||
|
<translation>
|
||||||
|
<language>fr-CA</language>
|
||||||
|
<approved>false</approved>
|
||||||
|
</translation>
|
||||||
|
</translations>
|
||||||
|
</concept_node>
|
||||||
<concept_node>
|
<concept_node>
|
||||||
<name>dailyactual</name>
|
<name>dailyactual</name>
|
||||||
<definition_loaded>false</definition_loaded>
|
<definition_loaded>false</definition_loaded>
|
||||||
@@ -41214,37 +41235,6 @@
|
|||||||
</folder_node>
|
</folder_node>
|
||||||
</children>
|
</children>
|
||||||
</folder_node>
|
</folder_node>
|
||||||
<folder_node>
|
|
||||||
<name>scoredboard</name>
|
|
||||||
<children>
|
|
||||||
<folder_node>
|
|
||||||
<name>successes</name>
|
|
||||||
<children>
|
|
||||||
<concept_node>
|
|
||||||
<name>updated</name>
|
|
||||||
<definition_loaded>false</definition_loaded>
|
|
||||||
<description></description>
|
|
||||||
<comment></comment>
|
|
||||||
<default_text></default_text>
|
|
||||||
<translations>
|
|
||||||
<translation>
|
|
||||||
<language>en-US</language>
|
|
||||||
<approved>false</approved>
|
|
||||||
</translation>
|
|
||||||
<translation>
|
|
||||||
<language>es-MX</language>
|
|
||||||
<approved>false</approved>
|
|
||||||
</translation>
|
|
||||||
<translation>
|
|
||||||
<language>fr-CA</language>
|
|
||||||
<approved>false</approved>
|
|
||||||
</translation>
|
|
||||||
</translations>
|
|
||||||
</concept_node>
|
|
||||||
</children>
|
|
||||||
</folder_node>
|
|
||||||
</children>
|
|
||||||
</folder_node>
|
|
||||||
<folder_node>
|
<folder_node>
|
||||||
<name>tech</name>
|
<name>tech</name>
|
||||||
<children>
|
<children>
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ export default function ScoreboardEntryEdit({ entry }) {
|
|||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
notification["success"]({
|
notification["success"]({
|
||||||
message: t("scoredboard.successes.updated"),
|
message: t("scoreboard.successes.updated"),
|
||||||
});
|
});
|
||||||
setVisible(false);
|
setVisible(false);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { Card, Col, Row, Space, Statistic, Table } from "antd";
|
import { Card, Col, Row, Space, Statistic, Table, Typography } from "antd";
|
||||||
import React from "react";
|
import React from "react";
|
||||||
import { useTranslation } from "react-i18next";
|
import { useTranslation } from "react-i18next";
|
||||||
import { connect } from "react-redux";
|
import { connect } from "react-redux";
|
||||||
@@ -68,27 +68,40 @@ export function ScoreboardTicketsStats({ data, bodyshop }) {
|
|||||||
return (
|
return (
|
||||||
<Card title={t("scoreboard.labels.productivestatistics")}>
|
<Card title={t("scoreboard.labels.productivestatistics")}>
|
||||||
<Row gutter={[16, 16]}>
|
<Row gutter={[16, 16]}>
|
||||||
<Col md={24} lg={6}>
|
<Col md={24} lg={4}>
|
||||||
<Space wrap>
|
<Row gutter={[16, 16]}>
|
||||||
<Statistic
|
<Col span={12}>
|
||||||
title={t("scoreboard.labels.lastweek")}
|
<Statistic
|
||||||
value={data.totalLastWeek.toFixed(1)}
|
title={t("scoreboard.labels.lastweek")}
|
||||||
/>
|
value={data.totalLastWeek.toFixed(1)}
|
||||||
<Statistic
|
/>
|
||||||
title={t("scoreboard.labels.thisweek")}
|
</Col>
|
||||||
value={data.totalThisWeek.toFixed(1)}
|
<Col span={12}>
|
||||||
/>
|
<Statistic
|
||||||
<Statistic
|
title={t("scoreboard.labels.lastmonth")}
|
||||||
title={t("scoreboard.labels.lastmonth")}
|
value={data.totalLastMonth.toFixed(1)}
|
||||||
value={data.totalLastMonth.toFixed(1)}
|
/>
|
||||||
/>
|
</Col>
|
||||||
<Statistic
|
</Row>
|
||||||
title={t("scoreboard.labels.thismonth")}
|
<Row gutter={[16, 16]}>
|
||||||
value={data.totalThisMonth.toFixed(1)}
|
<Col span={12}>
|
||||||
/>
|
<Statistic
|
||||||
</Space>
|
title={t("scoreboard.labels.thisweek")}
|
||||||
|
value={data.totalThisWeek.toFixed(1)}
|
||||||
|
/>
|
||||||
|
</Col>
|
||||||
|
<Col span={12}>
|
||||||
|
<Statistic
|
||||||
|
title={t("scoreboard.labels.thismonth")}
|
||||||
|
value={data.totalThisMonth.toFixed(1)}
|
||||||
|
/>
|
||||||
|
</Col>
|
||||||
|
</Row>
|
||||||
|
<Typography.Text type="secondary">
|
||||||
|
{t("scoreboard.labels.calendarperiod")}
|
||||||
|
</Typography.Text>
|
||||||
</Col>
|
</Col>
|
||||||
<Col md={24} lg={18}>
|
<Col md={24} lg={20}>
|
||||||
<Table
|
<Table
|
||||||
columns={columns}
|
columns={columns}
|
||||||
dataSource={tableData}
|
dataSource={tableData}
|
||||||
|
|||||||
@@ -2424,6 +2424,7 @@
|
|||||||
},
|
},
|
||||||
"labels": {
|
"labels": {
|
||||||
"asoftodaytarget": "As of Today",
|
"asoftodaytarget": "As of Today",
|
||||||
|
"calendarperiod": "Periods based on calendar weeks/months.",
|
||||||
"dailyactual": "Actual (D)",
|
"dailyactual": "Actual (D)",
|
||||||
"dailytarget": "Daily",
|
"dailytarget": "Daily",
|
||||||
"jobs": "Jobs",
|
"jobs": "Jobs",
|
||||||
@@ -2437,7 +2438,7 @@
|
|||||||
"thisweek": "This Week",
|
"thisweek": "This Week",
|
||||||
"timetickets": "Timetickets",
|
"timetickets": "Timetickets",
|
||||||
"todateactual": "Actual (MTD)",
|
"todateactual": "Actual (MTD)",
|
||||||
"totaloverperiod": "Total Period",
|
"totaloverperiod": "Total over Selected Dates",
|
||||||
"weeklyactual": "Actual (W)",
|
"weeklyactual": "Actual (W)",
|
||||||
"weeklytarget": "Weekly",
|
"weeklytarget": "Weekly",
|
||||||
"workingdays": "Working Days / Month"
|
"workingdays": "Working Days / Month"
|
||||||
@@ -2448,11 +2449,6 @@
|
|||||||
"updated": "Scoreboard updated."
|
"updated": "Scoreboard updated."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scoredboard": {
|
|
||||||
"successes": {
|
|
||||||
"updated": "Scoreboard entry updated."
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"tech": {
|
"tech": {
|
||||||
"fields": {
|
"fields": {
|
||||||
"employeeid": "Employee ID",
|
"employeeid": "Employee ID",
|
||||||
|
|||||||
@@ -2424,6 +2424,7 @@
|
|||||||
},
|
},
|
||||||
"labels": {
|
"labels": {
|
||||||
"asoftodaytarget": "",
|
"asoftodaytarget": "",
|
||||||
|
"calendarperiod": "",
|
||||||
"dailyactual": "",
|
"dailyactual": "",
|
||||||
"dailytarget": "",
|
"dailytarget": "",
|
||||||
"jobs": "",
|
"jobs": "",
|
||||||
@@ -2448,11 +2449,6 @@
|
|||||||
"updated": ""
|
"updated": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scoredboard": {
|
|
||||||
"successes": {
|
|
||||||
"updated": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"tech": {
|
"tech": {
|
||||||
"fields": {
|
"fields": {
|
||||||
"employeeid": "",
|
"employeeid": "",
|
||||||
|
|||||||
@@ -2424,6 +2424,7 @@
|
|||||||
},
|
},
|
||||||
"labels": {
|
"labels": {
|
||||||
"asoftodaytarget": "",
|
"asoftodaytarget": "",
|
||||||
|
"calendarperiod": "",
|
||||||
"dailyactual": "",
|
"dailyactual": "",
|
||||||
"dailytarget": "",
|
"dailytarget": "",
|
||||||
"jobs": "",
|
"jobs": "",
|
||||||
@@ -2448,11 +2449,6 @@
|
|||||||
"updated": ""
|
"updated": ""
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scoredboard": {
|
|
||||||
"successes": {
|
|
||||||
"updated": ""
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"tech": {
|
"tech": {
|
||||||
"fields": {
|
"fields": {
|
||||||
"employeeid": "",
|
"employeeid": "",
|
||||||
|
|||||||
Reference in New Issue
Block a user