IO-3166-Global-Notifications-Part-2 - Checkpoint
This commit is contained in:
@@ -95,7 +95,7 @@ const notificationScenarios = [
|
||||
builder: intakeDeliveryChecklistCompletedBuilder
|
||||
},
|
||||
{
|
||||
key: "payment-added",
|
||||
key: "payment-collected-completed",
|
||||
table: "payments",
|
||||
onNew: true,
|
||||
builder: paymentCollectedCompletedBuilder
|
||||
@@ -110,9 +110,10 @@ const notificationScenarios = [
|
||||
{
|
||||
key: "critical-parts-status-changed",
|
||||
table: "joblines",
|
||||
fields: ["critical"],
|
||||
onlyTruthyValues: ["critical"],
|
||||
builder: criticalPartsStatusChangedBuilder
|
||||
fields: ["status"],
|
||||
onlyTruthyValues: ["status"],
|
||||
builder: criticalPartsStatusChangedBuilder,
|
||||
filterCallback: ({ eventData }) => !eventData?.data?.critical
|
||||
},
|
||||
{
|
||||
key: "part-marked-back-ordered",
|
||||
|
||||
Reference in New Issue
Block a user