api new changes

This commit is contained in:
Eudes Inácio
2024-06-13 16:02:09 +01:00
parent b0583ce9e6
commit b0294c5ccb
3 changed files with 30 additions and 20 deletions
+13 -13
View File
@@ -114,9 +114,9 @@ export class Utils {
atendeesSeletedType(type) {
var selectedType = {
'true': 0,
'false': 1,
'other': 2,
'true': 1,
'false': 2,
'other': 3,
}
return selectedType[type];
}
@@ -135,11 +135,11 @@ export class Utils {
statusEventAproval(type) {
var selectedType = {
'Pending': 0,
'Revision': 1,
'Approved': 2,
"Declined": 3,
"Communicated": 4
'Pending': 1,
'Revision': 2,
'Approved': 3,
"Declined": 4,
"Communicated": 5
}
return selectedType[type];
}
@@ -157,11 +157,11 @@ export class Utils {
eventRecurence(type) {
var selectedType = {
'never': 0,
'daily': 1,
'weekly': 2,
"monthly": 3,
"yearly": 4
'never': 1,
'daily': 2,
'weekly': 3,
"monthly": 4,
"yearly": 5
}
return selectedType[type];
}