= Reformulação de Polos e Locais = == Ajustes no Sistema == * O cadastro de locais e polos será unificado. * A opção de definição de polos será removida de cursos EAD. * Todos os polos estarão disponíveis para todos os alunos nos cursos EAD. * As turmas terão um local (polo) para elas. * Para cursos EAD o aluno poderá escolher um polo preferencial (qualquer um dos polos ativos). * O polo será salvo em leads e tcontareceber_1 no momento do cadastro. * Ao se adicionar o aluno na turma a informação do polo será adicionada, quando for o caso, em turmas_alunos_locais e historico_turmas_alunos_locais. * O cadastro atual presente em convenios na Uninassau será migrado para os locais. * É necessário cadastrar o CNPJ? * '''BD''' * Os Polos (tabela "locais" no BD) passarão a ter os seguintes campos: * ID_Local * ID_Cidade * ID_PessoaPerfil * Nome_Local * Endereco_Local * Numero_Local * Bairro_Local * CEP_Local * !CodigoMunicipioParceiro_Local * !CodigoBairroParceiro_Local * Ativo_Local * !MomentoCriacao_Local * !MomentoAlteracao_Local == Arquivos onde tlocal foi encontrado e que precisarão ser alterados: == * sistema/Financeiro/Repasse/!RelatorioRepasseCampus.php: LEFT JOIN tlocal i ON (h.ID_Local=i.ID_Local) * sistema/Financeiro/Repasse/!RelatorioRepasseCampus.php: LEFT JOIN tlocal i ON (h.ID_Local=i.ID_Local) * sistema/Financeiro/Repasse/!RelatorioRepasseCampus.php: LEFT JOIN tlocal i ON (h.ID_Local=i.ID_Local) * sistema/Turmas/Cadastro/!FormCadastro.php: JOIN tlocal b ON (a.ID_Local=b.ID_Local) * sistema/Turmas/ajaj.php: FROM tlocal * sistema/Turmas/Scripts/gera_csv.php: LEFT JOIN tlocal as l ON l.ID_Local = tl.ID_Local * sistema/Turmas/Scripts/estacio_relatorio_inscricao.php: LEFT JOIN $banco.tlocal loc ON (lt.ID_Local = loc.ID_Local) * sistema/Turmas/Scripts/curos_cidade_estacio.php: LEFT JOIN $banco.tlocal f ON (e.ID_Local=f.ID_Local) * sistema/Turmas/Scripts/curos_cidade_estacio.php: FROM $banco.tlocal * sistema/Turmas/Scripts/gera_relatorio_captacao_estacio.php: LEFT JOIN tlocal lo on tl.ID_Local = lo.ID_Local * sistema/Turmas/Scripts/gera_relatorio_captacao_estacio.php: LEFT JOIN tlocal lo on tl.ID_Local = lo.ID_Local * sistema/Turmas/Scripts/gera_relatorio_captacao_estacio.php: LEFT JOIN tlocal lo on tl.ID_Local = lo.ID_Local * sistema/Turmas/Scripts/gera_relatorio_captacao_estacio.php: LEFT JOIN tlocal lo on tl.ID_Local = lo.ID_Local * sistema/Turmas/Scripts/gera_relatorio_captacao_estacio.php: LEFT JOIN tlocal lo on tl.ID_Local = lo.ID_Local * sistema/Turmas/Scripts/gera_relatorio_captacao_estacio.php: LEFT JOIN tlocal lo on tl.ID_Local = lo.ID_Local * sistema/Turmas/Scripts/gera_relatorio_captacao_estacio.php: LEFT JOIN tlocal lo on tl.ID_Local = lo.ID_Local * sistema/Turmas/Scripts/gera_relatorio_captacao_estacio.php: LEFT JOIN tlocal lo on tl.ID_Local = lo.ID_Local * sistema/Turmas/Scripts/gera_relatorio_captacao_estacio.php: LEFT JOIN tlocal lo on tl.ID_Local = lo.ID_Local * sistema/Turmas/Scripts/gera_relatorio_captacao_estacio.php: LEFT JOIN tlocal lo on tl.ID_Local = lo.ID_Local * sistema/Turmas/Scripts/gera_relatorio_captacao_estacio.php: LEFT JOIN tlocal lo on tl.ID_Local = lo.ID_Local * sistema/Turmas/Scripts/gera_relatorio_captacao_estacio.php: LEFT JOIN tlocal lo on tl.ID_Local = lo.ID_Local * sistema/Turmas/Scripts/gera_relatorio_captacao_estacio.php: LEFT JOIN tlocal lo on tl.ID_Local = lo.ID_Local * sistema/Turmas/Scripts/gera_relatorio_captacao_estacio.php: LEFT JOIN tlocal lo on tl.ID_Local = lo.ID_Local * sistema/Turmas/Scripts/estacio_relatorio_cursos.php: LEFT JOIN $banco.tlocal f ON (e.ID_Local=f.ID_Local) * sistema/Turmas/Scripts/relatorio_captacao/index.php: tlocal.Conteudo_Local, * sistema/Turmas/Scripts/relatorio_captacao/index.php: LEFT JOIN tlocal USING(ID_Local) * sistema/Turmas/Scripts/estacio_rel_inscri_ativa.php: LEFT JOIN $banco.tlocal loc ON (lt.ID_Local = loc.ID_Local) * sistema/Turmas/Scripts/Estacio_Datas_RelatorioCaptacao.sql: LEFT JOIN tlocal lo ON tl.ID_Local = lo.ID_Local * sistema/Turmas/Scripts/Estacio_Datas_RelatorioCaptacao.sql: LEFT JOIN tlocal lo ON tl.ID_Local = lo.ID_Local * sistema/Turmas/Scripts/relatorio_captacao_estacio.php: tlocal.Conteudo_Local as !CampusTurma, * sistema/Turmas/Scripts/relatorio_captacao_estacio.php: LEFT JOIN tlocal ON (tturmalocal.ID_Local = tlocal.ID_Local) * sistema/Turmas/Scripts/relatorio_captacao_estacio.php: tlocal.Conteudo_Local as !CampusTurma, * sistema/Turmas/Scripts/relatorio_captacao_estacio.php: LEFT JOIN tlocal ON (tturmalocal.ID_Local = tlocal.ID_Local) * sistema/Turmas/Scripts/cursos_estado_estacio.php: tlocal.codigo_municipio_campus AS codigo_municipio_campus, * sistema/Turmas/Scripts/cursos_estado_estacio.php: tlocal.codigo_bairro_campus AS codigo_bairro_campus, * sistema/Turmas/Scripts/cursos_estado_estacio.php: tlocal.Conteudo_Local AS Conteudo_Local, * sistema/Turmas/Scripts/cursos_estado_!estacio.php:JOIN $banco.tlocal ON (tlocal.Ativo_Local = '1') * sistema/Turmas/Scripts/cursos_estado_!estacio.php:JOIN $banco.tcidade ON (tlocal.ID_Cidade = tcidade.ID_Cidade) * sistema/Turmas/Scripts/cursos_estado_!estacio.php:GROUP BY tlocal.ID_Local, * sistema/Turmas/Scripts/cursos_estado_estacio.php: tlocal.codigo_municipio_campus AS codigo_municipio_campus, * sistema/Turmas/Scripts/cursos_estado_estacio.php: tlocal.codigo_bairro_campus AS codigo_bairro_campus, * sistema/Turmas/Scripts/cursos_estado_estacio.php: tlocal.Conteudo_Local AS Conteudo_Local, * sistema/Turmas/Scripts/cursos_estado_!estacio.php:JOIN $banco.tlocal ON (tlocal.ID_Local = tturmalocal.ID_Local) * sistema/Turmas/Scripts/cursos_estado_!estacio.php:GROUP BY tlocal.ID_Local, * sistema/Turmas/Scripts/relatorio_estacio_base_alunos.php: tcidade.Sigla_UF, tlocal.Conteudo_Local,tcurso.EAD, * sistema/Turmas/Scripts/relatorio_estacio_base_alunos.php: LEFT JOIN $banco.tlocal ON tturmalocal.ID_Local = tlocal.ID_Local * sistema/Turmas/Scripts/relatorio_estacio_base_alunos.php: LEFT JOIN $banco.tcidade ON tlocal.ID_Cidade = tcidade.ID_Cidade * sistema/Administrativo/Relatorios/!PlanilhaInscritosMatriculados.php: join tlocal lo on tl.ID_Local = lo.ID_Local * sistema/Administrativo/Relatorios/!PlanilhaInscritosMatriculados.php: join tlocal lo on tl.ID_Local = lo.ID_Local * sistema/Administrativo/Relatorios/PlanilhaCursoCampusDescontoXML.php: JOIN tlocal as l on tl.ID_Local=l.ID_Local * sistema/Administrativo/Relatorios/!PlanilhaFunil.php: JOIN tlocal lo on tl.ID_Local = lo.ID_Local * sistema/Administrativo/!ControledeMatriculas/RelatorioProjecao.php: JOIN tlocal b ON (a.ID_Local=b.ID_Local) * sistema/Administrativo/!ControledeMatriculas/ControleMatriculas.php:$sqlLocal = "SELECT Conteudo_Local FROM tlocal WHERE ID_Cidade = '" . $ID_Cidade . "' AND Ativo_Local = '1'"; * sistema/Administrativo/locais/!AddLocal.php: $SQLver = "SELECT 1 FROM tlocal * sistema/Administrativo/locais/!AddLocal.php: $SQLstring = "UPDATE tlocal SET * sistema/Administrativo/locais/!AddLocal.php: $SQLver = "SELECT 1 FROM tlocal * sistema/Administrativo/locais/!AddLocal.php: $SQLstring = "INSERT tlocal SET * sistema/Administrativo/locais/!ListLocal.php: FROM tlocal * sistema/Administrativo/locais/!DelLocal.php: $SQLstring = "UPDATE tlocal SET * sistema/Administrativo/locais/!PopAlt.php: " FROM tlocal ". * sistema/Library/ajaj.php: FROM tlocal * sistema/Library/lib.php: LEFT JOIN tlocal i ON (h.ID_Local = i.ID_Local)'; * sistema/Library/lib.php: LEFT JOIN tlocal i ON (h.ID_Local = i.ID_Local)'; * sistema/Library/classes.php: tlocal d ON c.ID_Local = d.ID_Local * sistema/Library/class_eventoaula.php: tlocal.nome_campus * sistema/Library/class_eventoaula.php: LEFT JOIN tlocal ON (tturmalocal.ID_Local = tlocal.ID_Local)