Skip to content
Snippets Groups Projects
Commit 853b9c2a authored by Vytor Calixto's avatar Vytor Calixto :space_invader:
Browse files

Fix error in enrollment with integral time

parent d58f16bd
No related branches found
No related tags found
1 merge request!116Release v1.0.0
Pipeline #
...@@ -100,7 +100,7 @@ enrollmentApp.get('/period', (req, res, next) => { ...@@ -100,7 +100,7 @@ enrollmentApp.get('/period', (req, res, next) => {
}, query, response('period')); }, query, response('period'));
// Returns integral-time avaible // Returns integral-time avaible
classApp.get('/integral_time', (req, res, next) => { enrollmentApp.get('/integral_time', (req, res, next) => {
req.result = [ req.result = [
{id: null, name: 'Não Disponível'}, {id: null, name: 'Não Disponível'},
{id: 0, name: 'Não'}, {id: 0, name: 'Não'},
...@@ -289,7 +289,7 @@ rqf.addField({ ...@@ -289,7 +289,7 @@ rqf.addField({
} }
}).addValue({ }).addValue({
name:'integral_time', name:'integral_time',
table: 'turma', table: 'matricula',
tableField: 'tempo_integral', tableField: 'tempo_integral',
resultField: 'integral_time_id', resultField: 'integral_time_id',
where: { where: {
......
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