Skip to content
Snippets Groups Projects
Commit de44db3e authored by Pietro Cavassin's avatar Pietro Cavassin
Browse files

change goverment to government

parent b443a1c9
No related branches found
No related tags found
2 merge requests!329Update enrollment - new filters,!309Merge new updates into master
......@@ -18,8 +18,10 @@ You should have received a copy of the GNU General Public License
along with simcaq-node. If not, see <https://www.gnu.org/licenses/>.
*/
module.exports = function govermentAgreement(id) {
module.exports = function governmentAgreement(id) {
switch (id) {
case null:
return "Não classificada"
case 1:
return 'Convênio com rede Municipal';
case 2:
......
......@@ -81,7 +81,7 @@ const teacherSchooling = require(`${libs}/convert/teacherSchooling`);
const ethnicGroupTeacherIES = require(`${libs}/convert/ethnicGroupTeacherIES`);
const genderIES = require(`${libs}/convert/genderIES`);
const deficiency = require(`${libs}/convert/studentDeficiency`);
const govermentAgreement = require(`${libs}/convert/govermentAgreement`);
const governmentAgreement = require(`${libs}/convert/governmentAgreement`);
const arrangement = require(`${libs}/convert/arrangement`);
const nightTime = require(`${libs}/convert/nightTime`);
const discipline = require(`${libs}/convert/discipline`);
......@@ -110,7 +110,7 @@ const ids = {
ethnic_group_id: ethnicGroup,
agreement_id: agreement,
integral_time_id: integralTime,
government_agreement_id: govermentAgreement,
government_agreement_id: governmentAgreement,
education_day_care_child_id: booleanVariable,
education_preschool_child_id: booleanVariable,
education_begin_elementary_school_id: booleanVariable,
......@@ -278,7 +278,7 @@ module.exports = {
genderIES,
deficiency,
transport,
govermentAgreement,
governmentAgreement,
arrangement,
nightTime,
discipline,
......
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