Skip to content

Commit

Permalink
Configura Plugins AldirBlancDataprev, Recursos, Financeiro e SCGE con…
Browse files Browse the repository at this point in the history
…forme configurações atuais do ambiente de produção Ref.: #1
  • Loading branch information
erleibiazzio committed Jun 24, 2022
1 parent 889080d commit 6927b72
Showing 1 changed file with 36 additions and 6 deletions.
42 changes: 36 additions & 6 deletions compose/common/config.d/plugins.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@
'EvaluationMethodTechnical' => ['namespace' => 'EvaluationMethodTechnical'],
'EvaluationMethodSimple' => ['namespace' => 'EvaluationMethodSimple'],
'EvaluationMethodDocumentary' => ['namespace' => 'EvaluationMethodDocumentary'],
'MultipleLocalAuth' => [ 'namespace' => 'MultipleLocalAuth' ],

'MultipleLocalAuth' => ['namespace' => 'MultipleLocalAuth'],
'SamplePlugin' => ['namespace' => 'SamplePlugin'],
'MapasBlame' => ['namespace' => 'MapasBlame'],
'AbstractValidator' => [
'namespace' => 'AbstractValidator',
'config' => [
'is_opportunity_managed_handler' => function ($opportunity) {
$opportunityList = ['820','821','822','823','825','826','827','840','841','842','843'];
'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;
},
]
Expand Down Expand Up @@ -78,5 +78,35 @@
'inciso2' => [],
],
],
'AldirBlancDataprev' => [
'namespace' => 'AldirBlancDataprev',
'config' => [
'exportador_requer_homologacao' => true,
'consolidacao_requer_validacoes' => ['scge']
],
],
'Recursos' => ['namespace' => 'AldirBlancValidadorRecurso'],
'Financeiro' => [
'namespace' => 'AldirBlancValidadorFinanceiro',
'config' => [
'exportador_requer_validacao' => ['dataprev', 'scge'],
'consolidacao_requer_homologacao' => true,
'consolidacao_requer_validacoes' => ['scge'],
],
],
'SCGE' => [
'namespace' => 'AldirBlancValidador',
'config' => [
'slug' => 'scge',
'name' => 'SCGE',
'exportador_requer_homologacao' => true,
'exportador_requer_validacao' => [],
'consolidacao_requer_validacoes' => ['dataprev'],
'inciso1' => [
'CPF' => 1567,
'MULHER PROVEDORA DE FAMÍLIA MONOPARENTAL:' => 1573,
]
]
]
]
];

0 comments on commit 6927b72

Please sign in to comment.