UI Updates & Bill Entering
This commit is contained in:
@@ -26,18 +26,22 @@ export function ScoreboardDayStats({ bodyshop, date, entries }) {
|
||||
}, 0);
|
||||
|
||||
return (
|
||||
<div className='imex-flex-row__margin'>
|
||||
<Card title={moment(date).format("D - ddd")}>
|
||||
<Statistic
|
||||
valueStyle={{ color: dailyBodyTarget > bodyHrs ? "red" : "green" }}
|
||||
value={bodyHrs.toFixed(1)}
|
||||
/>
|
||||
<Statistic
|
||||
valueStyle={{ color: dailyPaintTarget > paintHrs ? "red" : "green" }}
|
||||
value={paintHrs.toFixed(1)}
|
||||
/>
|
||||
</Card>
|
||||
</div>
|
||||
<Card
|
||||
title={moment(date).format("D - ddd")}
|
||||
className="ant-card-grid-hoverable"
|
||||
style={{ height: "100%" }}
|
||||
>
|
||||
<Statistic
|
||||
valueStyle={{ color: dailyBodyTarget > bodyHrs ? "red" : "green" }}
|
||||
label="B"
|
||||
value={bodyHrs.toFixed(1)}
|
||||
/>
|
||||
<Statistic
|
||||
valueStyle={{ color: dailyPaintTarget > paintHrs ? "red" : "green" }}
|
||||
label="P"
|
||||
value={paintHrs.toFixed(1)}
|
||||
/>
|
||||
</Card>
|
||||
);
|
||||
}
|
||||
export default connect(mapStateToProps, mapDispatchToProps)(ScoreboardDayStats);
|
||||
|
||||
Reference in New Issue
Block a user