Update formatting for AT on event IO-625
This commit is contained in:
@@ -1,10 +1,14 @@
|
|||||||
Ø.rbc-time-header-cell-single-day {
|
.rbc-time-header-cell-single-day {
|
||||||
display: unset;
|
display: unset;
|
||||||
}
|
}
|
||||||
.rbc-time-view .rbc-allday-cell {
|
.rbc-time-view .rbc-allday-cell {
|
||||||
height: unset;
|
height: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.rbc-event-label {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
.imex-event-arrived {
|
.imex-event-arrived {
|
||||||
background-color: rgba(4, 141, 4, 0.4);
|
background-color: rgba(4, 141, 4, 0.4);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { Button, Popover } from "antd";
|
import { Button, Popover, Space } 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";
|
||||||
@@ -27,7 +27,7 @@ export function ScheduleEventComponent({
|
|||||||
{!event.isintake ? (
|
{!event.isintake ? (
|
||||||
<strong>{event.title}</strong>
|
<strong>{event.title}</strong>
|
||||||
) : (
|
) : (
|
||||||
<div>
|
<Space>
|
||||||
<strong>{`${(event.job && event.job.ownr_fn) || ""} ${
|
<strong>{`${(event.job && event.job.ownr_fn) || ""} ${
|
||||||
(event.job && event.job.ownr_ln) || ""
|
(event.job && event.job.ownr_ln) || ""
|
||||||
}`}</strong>
|
}`}</strong>
|
||||||
@@ -37,7 +37,7 @@ export function ScheduleEventComponent({
|
|||||||
} ${(event.job && event.job.v_model_desc) || ""}`}
|
} ${(event.job && event.job.v_model_desc) || ""}`}
|
||||||
</span>
|
</span>
|
||||||
<ScheduleEventColor event={event} />
|
<ScheduleEventColor event={event} />
|
||||||
</div>
|
</Space>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{event.job ? (
|
{event.job ? (
|
||||||
@@ -113,27 +113,27 @@ export function ScheduleEventComponent({
|
|||||||
|
|
||||||
const RegularEvent = event.isintake ? (
|
const RegularEvent = event.isintake ? (
|
||||||
<div style={{ display: "flex", flexWrap: "wrap" }}>
|
<div style={{ display: "flex", flexWrap: "wrap" }}>
|
||||||
<strong style={{ margin: ".1rem" }}>{`${
|
<Space>
|
||||||
event.job.ro_number || t("general.labels.na")
|
<strong>{`${event.job.ro_number || t("general.labels.na")}`}</strong>
|
||||||
}`}</strong>
|
<span>{`${(event.job && event.job.ownr_fn) || ""} ${
|
||||||
<div style={{ margin: ".1rem" }}>{`${
|
(event.job && event.job.ownr_ln) || ""
|
||||||
(event.job && event.job.ownr_fn) || ""
|
} ${(event.job && event.job.ownr_co_nm) || ""}`}</span>
|
||||||
} ${(event.job && event.job.ownr_ln) || ""} ${
|
</Space>
|
||||||
(event.job && event.job.ownr_co_nm) || ""
|
<Space>
|
||||||
}`}</div>
|
<span>
|
||||||
|
{" "}
|
||||||
<div style={{ margin: ".1rem" }}>
|
{`${(event.job && event.job.v_model_yr) || ""} ${
|
||||||
{`${(event.job && event.job.v_model_yr) || ""} ${
|
(event.job && event.job.v_make_desc) || ""
|
||||||
(event.job && event.job.v_make_desc) || ""
|
} ${(event.job && event.job.v_model_desc) || ""}`}
|
||||||
} ${(event.job && event.job.v_model_desc) || ""}`}
|
</span>
|
||||||
</div>
|
<span>
|
||||||
<div style={{ margin: ".1rem" }}>
|
{`(${
|
||||||
{`(${
|
(event.job && event.job.labhrs.aggregate.sum.mod_lb_hrs) || "0"
|
||||||
(event.job && event.job.labhrs.aggregate.sum.mod_lb_hrs) || "0"
|
} / ${
|
||||||
} / ${
|
(event.job && event.job.larhrs.aggregate.sum.mod_lb_hrs) || "0"
|
||||||
(event.job && event.job.larhrs.aggregate.sum.mod_lb_hrs) || "0"
|
})`}
|
||||||
})`}
|
</span>
|
||||||
</div>
|
</Space>
|
||||||
{event.job && event.job.alt_transport && (
|
{event.job && event.job.alt_transport && (
|
||||||
<div style={{ margin: ".1rem" }}>{event.job.alt_transport}</div>
|
<div style={{ margin: ".1rem" }}>{event.job.alt_transport}</div>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user