iptdevs-design-system 2.6.7 → 2.6.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1194,41 +1194,47 @@ class CreateUserFormComponent {
1194
1194
  });
1195
1195
  }
1196
1196
  getRolesOptions() {
1197
+ // Estudiante
1198
+ if (this.userType === 'student') {
1199
+ return [
1200
+ { code: '13', name: 'Student' },
1201
+ ];
1202
+ }
1197
1203
  // Académico
1198
1204
  if (this.userType === 'academic') {
1199
- return 'hola';
1200
- } // [
1201
- // { code: '11', name: 'Teacher PRO' },
1202
- // { code: '12', name: 'Teacher' },
1203
- // ];
1205
+ return [
1206
+ { code: '11', name: 'Teacher PRO' },
1207
+ { code: '12', name: 'Teacher' },
1208
+ ];
1209
+ }
1204
1210
  // Administrativo
1205
- if (this.userType === 'administrative')
1206
- return;
1207
- [
1208
- { code: '31', name: 'Administrative Supervisor' },
1209
- { code: '32', name: 'Administrative Advisor' },
1210
- ];
1211
+ if (this.userType === 'administrative') {
1212
+ return [
1213
+ { code: '31', name: 'Administrative Supervisor' },
1214
+ { code: '32', name: 'Administrative Advisor' },
1215
+ ];
1216
+ }
1211
1217
  // Marketing
1212
- if (this.userType === 'marketing')
1213
- return;
1214
- [
1215
- { code: '21', name: 'Marketing Supervisor' },
1216
- { code: '22', name: 'Marketing Advisor' },
1217
- ];
1218
+ if (this.userType === 'marketing') {
1219
+ return [
1220
+ { code: '21', name: 'Marketing Supervisor' },
1221
+ { code: '22', name: 'Marketing Advisor' },
1222
+ ];
1223
+ }
1218
1224
  // Comercial
1219
- if (this.userType === 'commercial')
1220
- return;
1221
- [
1222
- { code: '41', name: 'Commercial Supervisor' },
1223
- { code: '42', name: 'Commercial Advisor' },
1224
- ];
1225
+ if (this.userType === 'commercial') {
1226
+ return [
1227
+ { code: '41', name: 'Commercial Supervisor' },
1228
+ { code: '42', name: 'Commercial Advisor' },
1229
+ ];
1230
+ }
1225
1231
  // Cartera
1226
- if (this.userType === 'treasure')
1227
- return;
1228
- [
1229
- { code: '51', name: 'Treauser Supervisor' },
1230
- { code: '52', name: 'Treauser Advisor' },
1231
- ];
1232
+ if (this.userType === 'treasure') {
1233
+ return [
1234
+ { code: '51', name: 'Treauser Supervisor' },
1235
+ { code: '52', name: 'Treauser Advisor' },
1236
+ ];
1237
+ }
1232
1238
  }
1233
1239
  selectRol(role) {
1234
1240
  if (role !== 'Seleccione el rol') {