Skip to content

Commit

Permalink
Configura plugin GenericValidator e faz mapeamento no ambiente de des…
Browse files Browse the repository at this point in the history
…envolvimento ref.:1
  • Loading branch information
erleibiazzio committed Jun 27, 2022
1 parent c76833f commit 4cf5ad1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
14 changes: 14 additions & 0 deletions compose/common/config.d/plugins.php
Original file line number Diff line number Diff line change
Expand Up @@ -483,5 +483,19 @@
},
]
],
"ValidadorHomodador" => [
"namespace" => "GenericValidator",
"config" => [
"homologation_required_for_export" => false,
"homologation_required" => false,
"enabled_alter_status_on_import" => true,
"name" => "validador homologador",
'slug' => "validadorhomologador",
'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;
},
]
],
]
];
2 changes: 2 additions & 0 deletions dev-scripts/docker-compose.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ services:
- ../plugins/AbstractValidator:/var/www/html/protected/application/plugins/AbstractValidator
- ../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


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

0 comments on commit 4cf5ad1

Please sign in to comment.