Skip to content
Snippets Groups Projects
Commit cf3f2d10 authored by Guiusepe's avatar Guiusepe
Browse files

school relative solicitations on issue 792 are completed

parent ee7dfe4a
No related branches found
No related tags found
2 merge requests!329Update enrollment - new filters,!309Merge new updates into master
...@@ -25,6 +25,6 @@ module.exports = function integralTime(id) { ...@@ -25,6 +25,6 @@ module.exports = function integralTime(id) {
case 1: case 1:
return 'Sim'; return 'Sim';
case 2: case 2:
return 'Não se aplica (semi presencial e EaD)'; return 'Não se aplica - Semi presencial e EaD';
} }
}; };
...@@ -60,7 +60,7 @@ schoolApp.get('/location', cache('15 day'), (req, res, next) => { ...@@ -60,7 +60,7 @@ schoolApp.get('/location', cache('15 day'), (req, res, next) => {
schoolApp.get('/diff_location', cache('15 day'), (req, res, next) => { schoolApp.get('/diff_location', cache('15 day'), (req, res, next) => {
req.result = [ req.result = [
{id: 0, name: "A escola não está em localidade diferenciada"}, {id: 0, name: "Não está em localidade diferenciada"},
{id: 1, name: "Área de assentamento"}, {id: 1, name: "Área de assentamento"},
{id: 2, name: "Terra indígena"}, {id: 2, name: "Terra indígena"},
{id: 3, name: "Terra remanescente de quilombos"}, {id: 3, name: "Terra remanescente de quilombos"},
...@@ -70,6 +70,7 @@ schoolApp.get('/diff_location', cache('15 day'), (req, res, next) => { ...@@ -70,6 +70,7 @@ schoolApp.get('/diff_location', cache('15 day'), (req, res, next) => {
schoolApp.get('/adm_dependency', (req, res, next) => { schoolApp.get('/adm_dependency', (req, res, next) => {
req.result = []; req.result = [];
for(let i = 1; i <= 4; ++i) { for(let i = 1; i <= 4; ++i) {
req.result.push({ req.result.push({
id: i, id: i,
...@@ -81,7 +82,7 @@ schoolApp.get('/adm_dependency', (req, res, next) => { ...@@ -81,7 +82,7 @@ schoolApp.get('/adm_dependency', (req, res, next) => {
schoolApp.get('/adm_dependency_detailed', cache('15 day'), (req, res, next) => { schoolApp.get('/adm_dependency_detailed', cache('15 day'), (req, res, next) => {
req.result = []; req.result = [];
for(let i = 1; i <= 6; ++i) { for(let i = 1; i <= 8; i++) {
req.result.push({ req.result.push({
id: i, id: i,
name: id2str.admDependencyPriv(i) name: id2str.admDependencyPriv(i)
...@@ -92,7 +93,7 @@ schoolApp.get('/adm_dependency_detailed', cache('15 day'), (req, res, next) => { ...@@ -92,7 +93,7 @@ schoolApp.get('/adm_dependency_detailed', cache('15 day'), (req, res, next) => {
schoolApp.get('/government_agreement', cache('15 day'), (req, res, next) => { schoolApp.get('/government_agreement', cache('15 day'), (req, res, next) => {
req.result = []; req.result = [];
for(let i = 1; i <= 6; ++i) { for(let i = 1; i <= 7; ++i) {
req.result.push({ req.result.push({
id: i, id: i,
name: id2str.govermentAgreement(i) name: id2str.govermentAgreement(i)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment