Badge indicator showing whether an opportunity has an associated Service Request
This commit is contained in:
@@ -10,6 +10,7 @@ function createOpportunitiesTable({
|
||||
createDetailLink,
|
||||
createProductsCountButton,
|
||||
createProductsRampBadge,
|
||||
createCrmServiceRequestBadge,
|
||||
createProductsDetailRow,
|
||||
createStageBadge,
|
||||
createStatusBadge,
|
||||
@@ -134,6 +135,8 @@ function createOpportunitiesTable({
|
||||
const rampBadge = createProductsRampBadge(productsResult);
|
||||
if (rampBadge) productActions.append(rampBadge);
|
||||
}
|
||||
const srBadge = createCrmServiceRequestBadge(item.OptyNumber);
|
||||
if (srBadge) productActions.append(srBadge);
|
||||
nameCellContent.append(opportunityLink, productActions);
|
||||
cell.append(nameCellContent);
|
||||
} else if (column.key === "optyNumber" && item.OptyNumber) {
|
||||
|
||||
Reference in New Issue
Block a user