Revert "Feature/IO-3067 implement learn more link for rome upsells (pull request #2034)"

This commit is contained in:
Patrick Fic
2025-01-02 16:02:14 +00:00
parent c033c0fbc5
commit 23becf6494
38 changed files with 244 additions and 350 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>
)
})