iptdevs-design-system 3.2.61 → 3.2.64

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.
@@ -4393,6 +4393,26 @@ class CommercialService extends IPTGeneralService {
4393
4393
  this.generateRequestParams(request);
4394
4394
  return this.http.get(serviceUrl, this.httpOptions);
4395
4395
  }
4396
+ getAllCommissionConcepts(request) {
4397
+ const serviceUrl = this.SERVICE_URL + 'get/all/commission/concepts';
4398
+ this.generateRequestParams(request);
4399
+ return this.http.get(serviceUrl, this.httpOptions);
4400
+ }
4401
+ createCommissionConcept(params) {
4402
+ const serviceUrl = this.SERVICE_URL + 'post/create/commission/concept';
4403
+ this.generateRequestParams(params);
4404
+ return this.http.post(serviceUrl, this.httpOptions);
4405
+ }
4406
+ updateCommissionConcept(params, code) {
4407
+ const serviceUrl = this.SERVICE_URL + `put/update/commission/concept/${code}`;
4408
+ this.generateRequestParams(params);
4409
+ return this.http.put(serviceUrl, this.httpOptions);
4410
+ }
4411
+ updateTypeUserCommission(params, code) {
4412
+ const serviceUrl = this.SERVICE_URL + `put/update/type/user/commission/${code}`;
4413
+ this.generateRequestParams(params);
4414
+ return this.http.put(serviceUrl, this.httpOptions);
4415
+ }
4396
4416
  }
4397
4417
  CommercialService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CommercialService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
4398
4418
  CommercialService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CommercialService, providedIn: 'root' });
@@ -6857,6 +6877,7 @@ class CodFormComponent {
6857
6877
  });
6858
6878
  this.localStorageCOD.clearData();
6859
6879
  this.okCreatedCOD.emit(true);
6880
+ this.okDataCreatedCOD.emit(response.data);
6860
6881
  }
6861
6882
  else if (response.message.code === 3) {
6862
6883
  let alertHtml = `