Skip to content

Commit

Permalink
Melhorias de código
Browse files Browse the repository at this point in the history
  • Loading branch information
edersoares committed Jul 1, 2024
1 parent 964dc5a commit 815c61a
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion database/sqls/functions/public.formata_cpf.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ CREATE OR REPLACE FUNCTION public.formata_cpf(cpf numeric) RETURNS character var
LANGUAGE plpgsql
AS $$
DECLARE
cpf_formatado varchar := '';
cpf_formatado varchar(11) := '';
BEGIN
cpf_formatado := (SUBSTR(TO_CHAR(cpf, '00000000000'), 1, 4) || '.' ||
SUBSTR(TO_CHAR(cpf, '00000000000'), 5, 3) || '.' ||
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ CREATE OR REPLACE FUNCTION relatorio.get_situacao_componente(cod_situacao numeri
LANGUAGE plpgsql
AS $$
DECLARE
texto_situacao varchar := '';
texto_situacao varchar(30) := '';
BEGIN
texto_situacao := (CASE
WHEN cod_situacao = 1 THEN 'Aprovado'
Expand Down
2 changes: 1 addition & 1 deletion ieducar/intranet/scripts/dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ function showExpansivelImprimir( largura, altura, arquivo, array, titulo )
}


centralizaExpansivel(expansivel);
centralizaExpansivel();
document.onscroll = function() { centralizaExpansivel(); };
}

Expand Down
2 changes: 1 addition & 1 deletion ieducar/intranet/scripts/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -1071,7 +1071,7 @@ makeCM.prototype.construct=function(nowrite)
o = m.b;
if(mpa)
{
rows?x=cm_cp(mp[i]):y=cm_cp(mp[i],0,0,1);
rows?x=cm_cp(mp[i]):y=cm_cp(mp[i],0,0);
}
o.moveIt(x,y);
o.showIt();
Expand Down
4 changes: 2 additions & 2 deletions ieducar/intranet/styles/min-portabilis.css
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ table.strong th , tr.strong th, tr.strong td{
ul.chosen-choices.error {
color: #ff4e4e !important;
border: 1px solid #ffe5e5 !important;
background-color: #ffeeee !important;
background: none;
background-color: #ffeeee !important;
}

.simple-block {
Expand Down Expand Up @@ -254,4 +254,4 @@ select, input[type="text"], input[type="password"], textarea {

.summernote-parecer-bg-red {
background-color: #FBECEF;
}
}

0 comments on commit 815c61a

Please sign in to comment.