IO-3020 IO-3036 Add upsell components to several components. Add upsell mask wrapper.
This commit is contained in:
@@ -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";
|
||||
const mapStateToProps = createStructuredSelector({
|
||||
bodyshop: selectBodyshop,
|
||||
technician: selectTechnician
|
||||
@@ -205,12 +205,9 @@ export function LaborAllocationsTable({
|
||||
locale={{
|
||||
...(!hasTimeTicketAccess && {
|
||||
emptyText: (
|
||||
<div>
|
||||
Upsell
|
||||
{
|
||||
//TODO:Upsell
|
||||
}
|
||||
</div>
|
||||
<Card>
|
||||
<UpsellComponent upsell={upsellEnum.timetickets.allocations} />
|
||||
</Card>
|
||||
)
|
||||
})
|
||||
}}
|
||||
@@ -251,12 +248,9 @@ export function LaborAllocationsTable({
|
||||
locale={{
|
||||
...(!hasTimeTicketAccess && {
|
||||
emptyText: (
|
||||
<div>
|
||||
Upsell
|
||||
{
|
||||
//TODO:Upsell
|
||||
}
|
||||
</div>
|
||||
<Card>
|
||||
<UpsellComponent upsell={upsellEnum.timetickets.allocations} />
|
||||
</Card>
|
||||
)
|
||||
})
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user