diff --git a/database/sqls/functions/public.formata_cpf.sql b/database/sqls/functions/public.formata_cpf.sql index 43d4039d88..9c36448851 100644 --- a/database/sqls/functions/public.formata_cpf.sql +++ b/database/sqls/functions/public.formata_cpf.sql @@ -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) || '.' || diff --git a/database/sqls/functions/relatorio.get_situacao_componente.sql b/database/sqls/functions/relatorio.get_situacao_componente.sql index 9df172b526..83c7d6e461 100644 --- a/database/sqls/functions/relatorio.get_situacao_componente.sql +++ b/database/sqls/functions/relatorio.get_situacao_componente.sql @@ -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' diff --git a/ieducar/intranet/scripts/dom.js b/ieducar/intranet/scripts/dom.js index 928fdf8ee8..bb94630ca9 100644 --- a/ieducar/intranet/scripts/dom.js +++ b/ieducar/intranet/scripts/dom.js @@ -360,7 +360,7 @@ function showExpansivelImprimir( largura, altura, arquivo, array, titulo ) } - centralizaExpansivel(expansivel); + centralizaExpansivel(); document.onscroll = function() { centralizaExpansivel(); }; } diff --git a/ieducar/intranet/scripts/menu.js b/ieducar/intranet/scripts/menu.js index f3edc0be15..a777f154e2 100644 --- a/ieducar/intranet/scripts/menu.js +++ b/ieducar/intranet/scripts/menu.js @@ -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(); diff --git a/ieducar/intranet/styles/min-portabilis.css b/ieducar/intranet/styles/min-portabilis.css index d029a741a6..65e77edbe6 100644 --- a/ieducar/intranet/styles/min-portabilis.css +++ b/ieducar/intranet/styles/min-portabilis.css @@ -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 { @@ -254,4 +254,4 @@ select, input[type="text"], input[type="password"], textarea { .summernote-parecer-bg-red { background-color: #FBECEF; -} \ No newline at end of file +}