iptdevs-design-system 3.2.148 → 3.2.149

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.
@@ -1552,7 +1552,7 @@ class ParameterService extends IPTGeneralService {
1552
1552
  return this.http.get(serviceUrl);
1553
1553
  }
1554
1554
  getAllCampus() {
1555
- let serviceUrl = this.SERVICE_URL + 'get/banks/all';
1555
+ let serviceUrl = this.SERVICE_URL + 'get/campus/all';
1556
1556
  return this.http.get(serviceUrl);
1557
1557
  }
1558
1558
  getCampusByCode(codeCampu) {
@@ -4261,11 +4261,6 @@ class CommercialService extends IPTGeneralService {
4261
4261
  const options = { ...this.httpOptions, params: request };
4262
4262
  return this.http.get(serviceUrl, options);
4263
4263
  }
4264
- getTransactionCommissionsByCode(request) {
4265
- const serviceUrl = this.SERVICE_URL + `get/commissions/by/transaction/code/`;
4266
- this.generateRequestParams(request);
4267
- return this.http.get(serviceUrl, this.httpOptions);
4268
- }
4269
4264
  createTypePayment(params) {
4270
4265
  const serviceUrl = this.SERVICE_URL + 'post/create/type/payment/commissions';
4271
4266
  this.generateRequestParams(params);
@@ -4324,17 +4319,23 @@ class CommercialService extends IPTGeneralService {
4324
4319
  payCommissions(params) {
4325
4320
  const serviceUrl = this.SERVICE_URL + 'commissions/pay/cods';
4326
4321
  this.generateRequestParams(params);
4327
- return this.http.post(serviceUrl, params, this.httpOptions);
4322
+ //return this.http.post(serviceUrl, params, this.httpOptions);
4323
+ return this.http.post(serviceUrl, this.httpOptions);
4328
4324
  }
4329
4325
  rejectTransactionByCode(params) {
4330
- const serviceUrl = this.SERVICE_URL + 'commissions/pay/cods';
4326
+ const serviceUrl = this.SERVICE_URL + 'commissions/reject/transaction';
4331
4327
  this.generateRequestParams(params);
4332
- return this.http.post(serviceUrl, params, this.httpOptions);
4328
+ return this.http.post(serviceUrl, this.httpOptions);
4333
4329
  }
4334
4330
  approveTransactionByCode(params) {
4335
4331
  const serviceUrl = this.SERVICE_URL + 'commissions/approve/transaction';
4336
4332
  this.generateRequestParams(params);
4337
- return this.http.post(serviceUrl, params, this.httpOptions);
4333
+ return this.http.post(serviceUrl, this.httpOptions);
4334
+ }
4335
+ getTransactionCommissionsByCode(request) {
4336
+ const serviceUrl = this.SERVICE_URL + `get/commissions/by/transaction/code`;
4337
+ this.generateRequestParams(request);
4338
+ return this.http.get(serviceUrl, this.httpOptions);
4338
4339
  }
4339
4340
  payAdvisorBonuses(params) {
4340
4341
  const serviceUrl = this.SERVICE_URL + 'commissions/pay/bonuses';