Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
simcaq-node
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
simcaq
simcaq-node
Commits
b9a8866c
Commit
b9a8866c
authored
6 years ago
by
Fernando Erd
Browse files
Options
Downloads
Patches
Plain Diff
Change name in integraltime
parent
27cf2a33
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#17957
failed
6 years ago
Stage: test
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/libs/convert/integralTime.js
+8
-0
8 additions, 0 deletions
src/libs/convert/integralTime.js
src/libs/convert/period.js
+1
-1
1 addition, 1 deletion
src/libs/convert/period.js
src/libs/middlewares/id2str.js
+4
-2
4 additions, 2 deletions
src/libs/middlewares/id2str.js
with
13 additions
and
3 deletions
src/libs/convert/integralTime.js
0 → 100644
+
8
−
0
View file @
b9a8866c
module
.
exports
=
function
integralTime
(
id
)
{
if
(
id
==
null
)
return
'
Não se aplica (semi presencial e EaD)
'
;
else
if
(
id
==
false
)
return
'
Não
'
;
else
if
(
id
==
true
)
return
'
Sim
'
;
};
This diff is collapsed.
Click to expand it.
src/libs/convert/period.js
+
1
−
1
View file @
b9a8866c
...
...
@@ -7,6 +7,6 @@ module.exports = function period(id) {
case
3
:
return
'
Noturno
'
;
default
:
return
'
Indefinido
'
;
return
'
Não se aplica (semi presencial e EaD)
'
;
}
};
This diff is collapsed.
Click to expand it.
src/libs/middlewares/id2str.js
+
4
−
2
View file @
b9a8866c
...
...
@@ -30,6 +30,7 @@ const useTransport = require(`${libs}/convert/booleanVariable`);
const
useTransportPublic
=
require
(
`
${
libs
}
/convert/booleanVariable`
);
const
transportationManager
=
require
(
`
${
libs
}
/convert/transportationManager`
);
const
specialClass
=
require
(
`
${
libs
}
/convert/booleanVariable`
);
const
integralTime
=
require
(
`
${
libs
}
/convert/integralTime`
);
const
educationLevelSchoolYear
=
require
(
`
${
libs
}
/convert/educationLevelSchoolYear`
);
const
ids
=
{
...
...
@@ -47,7 +48,7 @@ const ids = {
location_detailed_id
:
ruralLocation
,
ethnic_group_id
:
ethnicGroup
,
agreement_id
:
agreement
,
integral_time_id
:
booleanVariabl
e
,
integral_time_id
:
integralTim
e
,
government_agreement_id
:
booleanVariable
,
education_day_care_child_id
:
booleanVariable
,
education_preschool_child_id
:
booleanVariable
,
...
...
@@ -143,5 +144,6 @@ module.exports = {
extremesHouseholdIncome
,
useTransport
,
transportationManager
,
specialClass
specialClass
,
integralTime
};
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment