Skip to content

Commit

Permalink
Configura pligin AbstractValidator Ref.:#1
Browse files Browse the repository at this point in the history
  • Loading branch information
erleibiazzio committed Jun 27, 2022
1 parent c7cec29 commit c76833f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion compose/common/config.d/plugins.php
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,15 @@
'MULHER PROVEDORA DE FAMÍLIA MONOPARENTAL:' => 1573,
]
]
]
],
"AbstractValidator" => [
"namespace" => "AbstractValidator",
"config" => [
"is_opportunity_managed_handler" => function ($opportunity) {
$opportunityList = ['820', '821', '822', '823', '825', '826', '827', '840', '841', '842', '843'];
return in_array($opportunity->id, $opportunityList) ? true : false;
},
]
],
]
];

0 comments on commit c76833f

Please sign in to comment.