Added tech routing paths and basic structure of landing page + sign in + reducers BOD-95
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { CalendarOutlined } from "@ant-design/icons";
|
||||
import { Col, Row, Statistic } from "antd";
|
||||
import React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { connect } from "react-redux";
|
||||
import { createStructuredSelector } from "reselect";
|
||||
import { selectBodyshop } from "../../redux/user/user.selectors";
|
||||
import * as Util from "./scoreboard-targets-table.util";
|
||||
import { Row, Col, Card, Statistic } from "antd";
|
||||
import { CalendarOutlined } from "@ant-design/icons";
|
||||
import { useTranslation } from "react-i18next";
|
||||
const mapStateToProps = createStructuredSelector({
|
||||
bodyshop: selectBodyshop,
|
||||
});
|
||||
@@ -35,7 +35,7 @@ export function ScoreboardTargetsTable({ bodyshop }) {
|
||||
<Statistic
|
||||
title={t("scoreboard.labels.dailytarget")}
|
||||
value={bodyshop.scoreboard_target.dailyBodyTarget}
|
||||
prefix="B"
|
||||
prefix='B'
|
||||
/>
|
||||
</Col>
|
||||
<Col {...statSpans}>
|
||||
@@ -70,7 +70,7 @@ export function ScoreboardTargetsTable({ bodyshop }) {
|
||||
<Col {...statSpans}>
|
||||
<Statistic
|
||||
value={bodyshop.scoreboard_target.dailyPaintTarget}
|
||||
prefix="P"
|
||||
prefix='P'
|
||||
/>
|
||||
</Col>
|
||||
<Col {...statSpans}>
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import moment from "moment";
|
||||
import momentbd from "moment-business-days";
|
||||
import moment from "moment-business-days";
|
||||
|
||||
moment.updateLocale("ca", {
|
||||
workingWeekdays: [1, 2, 3, 4, 5],
|
||||
|
||||
Reference in New Issue
Block a user