diff --git a/src/libs/routes/school.js b/src/libs/routes/school.js index c0610bcfbce38ad6b8e34289edc1e2b8389549ca..5ebf7473ad243e41528a05beca4d38c85be82f2c 100644 --- a/src/libs/routes/school.js +++ b/src/libs/routes/school.js @@ -178,6 +178,16 @@ rqfCount.addField({ foreign: 'dependencia_adm_priv', foreignTable: 'escola' } +}).addValue({ + name: 'location', + table: 'escola', + tableField: 'cod_localizacao', + resultField: 'cod_localizacao', + where: { + relation: '=', + type: 'integer', + field: 'cod_localizacao' + } }).addValue({ name: 'cook_room', table: 'escola',