Skip to content
Snippets Groups Projects
Commit cc6a6844 authored by Victor Picussa's avatar Victor Picussa
Browse files

Merge branch 'dailyChargeAmount' into development

parents 3a394bdb 224d1e10
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -162,6 +162,37 @@ rqf.addField({ ...@@ -162,6 +162,37 @@ rqf.addField({
foreign: 'estado_id', foreign: 'estado_id',
foreignTable: 'turma' foreignTable: 'turma'
} }
}).addValue({
name: 'school',
table: 'escola',
tableField: ['nome_escola', 'id'],
resultField: ['school_name', 'school_id'],
where: {
relation: '=',
type: 'integer',
field: 'id'
},
join: {
primary: 'id',
foreign: 'escola_id',
foreignTable: 'turma'
}
}).addValue({
name: 'city',
table: 'municipio',
tableField: ['nome', 'id'],
resultField: ['city_name', 'city_id'],
where: {
relation: '=',
type: 'integer',
field: 'municipio_id',
table: 'turma'
},
join: {
primary: 'id',
foreign: 'municipio_id',
foreignTable: 'turma'
}
}).addValue({ }).addValue({
name: 'min_year', name: 'min_year',
table: 'turma', table: 'turma',
......
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