Added alt transport to appointments BOD-392
This commit is contained in:
@@ -7,6 +7,7 @@ import { setModalContext } from "../../redux/modals/modals.actions";
|
||||
import CurrencyFormatter from "../../utils/CurrencyFormatter";
|
||||
import PhoneFormatter from "../../utils/PhoneFormatter";
|
||||
import DataLabel from "../data-label/data-label.component";
|
||||
import ScheduleAtChange from "./schedule-event.at.component";
|
||||
import ScheduleEventColor from "./schedule-event.color.component";
|
||||
|
||||
const mapDispatchToProps = (dispatch) => ({
|
||||
@@ -63,6 +64,10 @@ export function ScheduleEventComponent({
|
||||
{(event.job && event.job.ownr_ph1) || ""}
|
||||
</PhoneFormatter>
|
||||
</DataLabel>
|
||||
<DataLabel label={t("appointments.fields.alt_transport")}>
|
||||
{event.alt_transport || ""}
|
||||
<ScheduleAtChange event={event} />
|
||||
</DataLabel>
|
||||
</div>
|
||||
) : null}
|
||||
|
||||
@@ -129,6 +134,9 @@ export function ScheduleEventComponent({
|
||||
(event.job && event.job.larhrs.aggregate.sum.mod_lb_hrs) || "0"
|
||||
})`}
|
||||
</div>
|
||||
{event.alt_transport && (
|
||||
<div style={{ margin: ".1rem" }}>{event.alt_transport}</div>
|
||||
)}
|
||||
</div>
|
||||
) : (
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user