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.
@@ -1555,7 +1555,7 @@ class ParameterService extends IPTGeneralService {
1555
1555
  return this.http.get(serviceUrl);
1556
1556
  }
1557
1557
  getAllCampus() {
1558
- let serviceUrl = this.SERVICE_URL + 'get/banks/all';
1558
+ let serviceUrl = this.SERVICE_URL + 'get/campus/all';
1559
1559
  return this.http.get(serviceUrl);
1560
1560
  }
1561
1561
  getCampusByCode(codeCampu) {
@@ -4266,11 +4266,6 @@ class CommercialService extends IPTGeneralService {
4266
4266
  const options = Object.assign(Object.assign({}, this.httpOptions), { params: request });
4267
4267
  return this.http.get(serviceUrl, options);
4268
4268
  }
4269
- getTransactionCommissionsByCode(request) {
4270
- const serviceUrl = this.SERVICE_URL + `get/commissions/by/transaction/code/`;
4271
- this.generateRequestParams(request);
4272
- return this.http.get(serviceUrl, this.httpOptions);
4273
- }
4274
4269
  createTypePayment(params) {
4275
4270
  const serviceUrl = this.SERVICE_URL + 'post/create/type/payment/commissions';
4276
4271
  this.generateRequestParams(params);
@@ -4329,17 +4324,23 @@ class CommercialService extends IPTGeneralService {
4329
4324
  payCommissions(params) {
4330
4325
  const serviceUrl = this.SERVICE_URL + 'commissions/pay/cods';
4331
4326
  this.generateRequestParams(params);
4332
- return this.http.post(serviceUrl, params, this.httpOptions);
4327
+ //return this.http.post(serviceUrl, params, this.httpOptions);
4328
+ return this.http.post(serviceUrl, this.httpOptions);
4333
4329
  }
4334
4330
  rejectTransactionByCode(params) {
4335
- const serviceUrl = this.SERVICE_URL + 'commissions/pay/cods';
4331
+ const serviceUrl = this.SERVICE_URL + 'commissions/reject/transaction';
4336
4332
  this.generateRequestParams(params);
4337
- return this.http.post(serviceUrl, params, this.httpOptions);
4333
+ return this.http.post(serviceUrl, this.httpOptions);
4338
4334
  }
4339
4335
  approveTransactionByCode(params) {
4340
4336
  const serviceUrl = this.SERVICE_URL + 'commissions/approve/transaction';
4341
4337
  this.generateRequestParams(params);
4342
- return this.http.post(serviceUrl, params, this.httpOptions);
4338
+ return this.http.post(serviceUrl, this.httpOptions);
4339
+ }
4340
+ getTransactionCommissionsByCode(request) {
4341
+ const serviceUrl = this.SERVICE_URL + `get/commissions/by/transaction/code`;
4342
+ this.generateRequestParams(request);
4343
+ return this.http.get(serviceUrl, this.httpOptions);
4343
4344
  }
4344
4345
  payAdvisorBonuses(params) {
4345
4346
  const serviceUrl = this.SERVICE_URL + 'commissions/pay/bonuses';