iptdevs-design-system 3.1.57 → 3.1.59

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.
@@ -4028,9 +4028,11 @@ class CodFormStepFiveComponent extends CodFormSteps {
4028
4028
  if (!this.termsCheckboxStatus)
4029
4029
  this.errorMessage = 'Debe marcar la casilla de términos y condiciones.';
4030
4030
  });
4031
- if (this.userRole === 30 || this.userRole === 31 || this.userRole === 32)
4032
- this.sendFormMsg = 'Editar COD'; // Roles Administrativos
4033
- if (this.userRole === 40 || this.userRole === 41 || this.userRole === 42)
4031
+ // if (this.userRole === 30 || this.userRole === 31 || this.userRole === 32) this.sendFormMsg = 'Editar COD'; // Roles Administrativos
4032
+ if (this.userRole === 30 || this.userRole === 31 || this.userRole === 32 ||
4033
+ this.userRole === 40 || this.userRole === 41 || this.userRole === 42 ||
4034
+ this.userRole === 50 || this.userRole === 51 || this.userRole === 52 ||
4035
+ this.userRole === 1)
4034
4036
  this.sendFormMsg = 'Crear COD'; // Roles comerciales
4035
4037
  if (changes['initialData']) {
4036
4038
  if (this.initialData != null) {
@@ -4171,7 +4173,7 @@ class CodFormComponent {
4171
4173
  this.commercialService = commercialService;
4172
4174
  this.okCreatedCOD = new EventEmitter();
4173
4175
  this.allowedRoles = [
4174
- 30, 31, 32, 40, 41, 42,
4176
+ 30, 31, 32, 40, 41, 42, 50, 51, 52
4175
4177
  ];
4176
4178
  this.currentStep = 0;
4177
4179
  this.formTitle = 'Formulario para creación del COD';