Skip to content

Commit

Permalink
Configura e faz mapeamento do plugin FinancialValidador Ref.: #1
Browse files Browse the repository at this point in the history
  • Loading branch information
erleibiazzio committed Jun 27, 2022
1 parent 0bd39fd commit d03f4df
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
13 changes: 13 additions & 0 deletions compose/common/config.d/plugins.php
Original file line number Diff line number Diff line change
Expand Up @@ -497,5 +497,18 @@
},
]
],
'FinancialValidador' => [
'namespace' => "FinancialValidador",
'config' => [
'exportador_requer_homologacao' => false,
'homologation_required' => false,
'slug' => 'financial_validator',
'name' => 'Validador Financeiro',
'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;
},
]
]
]
];
1 change: 1 addition & 0 deletions dev-scripts/docker-compose.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ services:
- ../plugins/AldirBlancValidador:/var/www/html/protected/application/plugins/AldirBlancValidador
- ../plugins/FormCommunication:/var/www/html/protected/application/plugins/FormCommunication
- ../plugins/GenericValidator:/var/www/html/protected/application/plugins/GenericValidator
- ../plugins/FinancialValidador:/var/www/html/protected/application/plugins/FinancialValidador


- ../compose/overrides/plugins/AldirBlancDataprev/Plugin.php:/var/www/html/protected/application/plugins/AldirBlancDataprev/Plugin.php
Expand Down

0 comments on commit d03f4df

Please sign in to comment.