Skip to content
Snippets Groups Projects
Commit ffeeae13 authored by pdg16's avatar pdg16
Browse files

fix convert integral time

parent 3c4fc1cb
No related branches found
No related tags found
1 merge request!188fix convert integral time
Pipeline #19888 failed
/* /*
Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre Copyright (C) 2016 Centro de Computacao Cientifica e Software Livre
Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR Departamento de Informatica - Universidade Federal do Parana - C3SL/UFPR
This file is part of simcaq-node. This file is part of simcaq-node.
simcaq-node is free software: you can redistribute it and/or modify simcaq-node is free software: you can redistribute it and/or modify
...@@ -19,10 +19,12 @@ along with simcaq-node. If not, see <https://www.gnu.org/licenses/>. ...@@ -19,10 +19,12 @@ along with simcaq-node. If not, see <https://www.gnu.org/licenses/>.
*/ */
module.exports = function integralTime(id) { module.exports = function integralTime(id) {
if (id == null) switch (id) {
return 'Não se aplica (semi presencial e EaD)'; case true:
else if (id == false) return 'Sim';
return 'Não'; case false:
else if (id == true) return 'Não';
return 'Sim'; default:
return 'Não se aplica (semi presencial e EaD)';
}
}; };
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