sticutils 2.1.2 → 2.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: cf3085d741f4692de92318de22d52c924e2b50a41430eb17aeda82d823c9b846
|
|
4
|
+
data.tar.gz: 16d156a824a25061b2ae5a19fdaacbc8f336d1fdd684470fa44f1d7f2e80fc2a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f6f7ca2fec3f971df0dec44bda1fe55e7f2feb6b9d63fdfb6815308bd0154eb31a7e3f96d00a7ccfd9d51f2991556f1d9db5daf361bffda7ea078ae096ae05ea
|
|
7
|
+
data.tar.gz: e59a7fe117ef52b5b42b52a9158ed698656ef4205413dd4af964d62bac676b7c2f8f0d37f370a1dcd246cf7c0a5df014d7f51a90e43258d83c04089c22316f1a
|
|
@@ -18,11 +18,17 @@ class Gestorh::FolhaAgrupadaIdSeparado < Gestorh::GestorhRecord
|
|
|
18
18
|
def eventos_e_valores
|
|
19
19
|
# .where.not('cdclassificacaoverba.cv_classificacao': 'DESCONTO_PREVIDENCIA_PUBLICA_IAPEP')
|
|
20
20
|
Gestorh::MovimentoAcumulado.where(mv_regfolha: folhas, mv_matricula: matricula)
|
|
21
|
+
# CDVERBA LEFT JOIN CDTRU: verbas sem TRU (vb_tru nulo) devem permanecer
|
|
22
|
+
# na lista com codigo_tru/nome_tru nulos. O :tru entra como LEFT OUTER JOIN,
|
|
23
|
+
# enquanto :classificacao_verba continua INNER.
|
|
21
24
|
.joins(verba: :classificacao_verba)
|
|
25
|
+
.left_outer_joins(verba: :tru)
|
|
22
26
|
.select("mv_regfolha as folha_id",
|
|
23
27
|
"mv_verba as codigo_evento",
|
|
28
|
+
"tru_codigo as codigo_tru",
|
|
24
29
|
"mv_referencia as fator",
|
|
25
30
|
"cdverba.vb_nome as nome_evento",
|
|
31
|
+
"tru_nome as nome_tru",
|
|
26
32
|
"mv_dc as status",
|
|
27
33
|
"mv_total as valor",
|
|
28
34
|
"cdclassificacaoverba.cv_classificacao as tipo",
|
data/app/models/gestorh/verba.rb
CHANGED
data/lib/sticutils/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sticutils
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.1.
|
|
4
|
+
version: 2.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ricardo Viana
|
|
@@ -82,6 +82,7 @@ files:
|
|
|
82
82
|
- app/models/gestorh/movimento_acumulado.rb
|
|
83
83
|
- app/models/gestorh/movimento_posicao.rb
|
|
84
84
|
- app/models/gestorh/nivel_salario.rb
|
|
85
|
+
- app/models/gestorh/tru.rb
|
|
85
86
|
- app/models/gestorh/verba.rb
|
|
86
87
|
- app/models/gestorh/vinculo.rb
|
|
87
88
|
- app/models/intranet.rb
|