IO-3067 Add learn more link for Rome.

This commit is contained in:
Patrick Fic
2024-12-20 09:01:51 -08:00
parent c0bf829dc0
commit c4f7c57c24
37 changed files with 349 additions and 243 deletions

View File

@@ -13,7 +13,7 @@ import LaborAllocationsAdjustmentEdit from "../labor-allocations-adjustment-edit
import "./labor-allocations-table.styles.scss";
import { CalculateAllocationsTotals } from "./labor-allocations-table.utility";
import { HasFeatureAccess } from "../feature-wrapper/feature-wrapper.component";
import UpsellComponent, { upsellEnum } from "../upsell/upsell.component";
import UpsellComponent, { UpsellEnum } from "../upsell/upsell.component";
const mapStateToProps = createStructuredSelector({
bodyshop: selectBodyshop,
technician: selectTechnician
@@ -206,7 +206,7 @@ export function LaborAllocationsTable({
...(!hasTimeTicketAccess && {
emptyText: (
<Card>
<UpsellComponent upsell={upsellEnum().timetickets.allocations} />
<UpsellComponent upsell={UpsellEnum().timetickets.allocations} />
</Card>
)
})
@@ -249,7 +249,7 @@ export function LaborAllocationsTable({
...(!hasTimeTicketAccess && {
emptyText: (
<Card>
<UpsellComponent upsell={upsellEnum().timetickets.allocations} />
<UpsellComponent upsell={UpsellEnum().timetickets.allocations} />
</Card>
)
})

View File

@@ -11,7 +11,7 @@ import { selectBodyshop } from "../../redux/user/user.selectors";
import CurrencyFormatter from "../../utils/CurrencyFormatter";
import "./labor-allocations-table.styles.scss";
import { HasFeatureAccess } from "../feature-wrapper/feature-wrapper.component";
import UpsellComponent, { upsellEnum } from "../upsell/upsell.component";
import UpsellComponent, { UpsellEnum } from "../upsell/upsell.component";
import LockWrapperComponent from "../lock-wrapper/lock-wrapper.component";
const mapStateToProps = createStructuredSelector({
@@ -269,7 +269,7 @@ export function PayrollLaborAllocationsTable({
...(!hasTimeTicketAccess && {
emptyText: (
<Card>
<UpsellComponent upsell={upsellEnum().timetickets.allocations} />
<UpsellComponent upsell={UpsellEnum().timetickets.allocations} />
</Card>
)
})