iptdevs-design-system 3.1.287 → 3.1.289

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.
@@ -1734,6 +1734,7 @@ class SidenavComponent {
1734
1734
  let token = user === undefined ? '' : user;
1735
1735
  let request = {
1736
1736
  token: token,
1737
+ department: this.department
1737
1738
  };
1738
1739
  this.userService.getRoutesForRole(request).subscribe((response) => {
1739
1740
  this.routes = response.data;
@@ -4577,7 +4578,6 @@ class CodFormStepFiveComponent extends CodFormSteps {
4577
4578
  this.codFormStepFive.markAllAsTouched();
4578
4579
  if (this.codFormStepFive.invalid || this.termsCheckboxStatus === false)
4579
4580
  return;
4580
- console.log(this.isEditCod);
4581
4581
  if (this.userRole == 30 || this.userRole == 31 || this.userRole == 32 ||
4582
4582
  this.userRole == 40 || this.userRole == 41 || this.userRole == 42 ||
4583
4583
  this.userRole == 50 || this.userRole == 51 || this.userRole == 52 ||
@@ -4751,7 +4751,6 @@ class CodFormComponent {
4751
4751
  }
4752
4752
  const totalData = [];
4753
4753
  this.subscription = this.codFormControls.getControlValues().subscribe((controls) => {
4754
- console.log(controls);
4755
4754
  for (let i = 1; i <= this.formSteps; i++) {
4756
4755
  let controlsByStep = controls[i - 1];
4757
4756
  controlsByStep.forEach(control => {
@@ -4803,16 +4802,12 @@ class CodFormComponent {
4803
4802
  this.subscription.unsubscribe();
4804
4803
  }
4805
4804
  updateCOD(totalData) {
4806
- console.log('actualizando COD...');
4807
- console.log("updateCOD");
4808
- console.log(totalData);
4809
4805
  if (this.codCreationSubscription && !this.codCreationSubscription.closed) {
4810
4806
  return;
4811
4807
  }
4812
4808
  this.isLoading = true;
4813
4809
  this.loaderMessage = 'Editando COD, espere un momento';
4814
4810
  let request = this.getUpdateCOD(totalData);
4815
- console.log(request);
4816
4811
  this.commercialService.updateCOD(request).subscribe({
4817
4812
  next: (response) => {
4818
4813
  if (response.message.code === 1) {
@@ -4859,14 +4854,6 @@ class CodFormComponent {
4859
4854
  this.codCreationSubscription = null;
4860
4855
  }
4861
4856
  });
4862
- // this.commercialService.EditCod(request).subscribe({
4863
- // next: (response: any) => {
4864
- // this.isLoading = false;
4865
- // this.loaderMessage = '';
4866
- // },
4867
- // error: (err: any) => {
4868
- // }
4869
- // });
4870
4857
  }
4871
4858
  createCOD(totalData) {
4872
4859
  if (this.codCreationSubscription && !this.codCreationSubscription.closed) {