iptdevs-design-system 3.1.814 → 3.1.816

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.
@@ -3188,6 +3188,11 @@ class CommercialService extends IPTGeneralService {
3188
3188
  this.generateRequestParams(params);
3189
3189
  return this.http.post(serviceUrl, this.httpOptions);
3190
3190
  }
3191
+ gesPosibleStudentAllFourModelsByDate(params) {
3192
+ let serviceUrl = this.SERVICE_URL + 'get/posible/students/all/four/models/by/date';
3193
+ this.generateRequestParams(params);
3194
+ return this.http.post(serviceUrl, this.httpOptions);
3195
+ }
3191
3196
  }
3192
3197
  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 });
3193
3198
  CommercialService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CommercialService, providedIn: 'root' });
@@ -6228,13 +6233,12 @@ class BudgetService extends IPTGeneralService {
6228
6233
  } */
6229
6234
  assignImageToTransfer(params) {
6230
6235
  const serviceUrl = this.SERVICE_URL + 'post/transfer/assign-image';
6231
- const paramsPayload = {
6232
- token: params.token,
6233
- code: params.code
6234
- };
6235
6236
  const formData = new FormData();
6236
- formData.append('params', JSON.stringify(paramsPayload));
6237
- formData.append('image', params.image, params.image.name);
6237
+ formData.append('params[token]', params.token);
6238
+ formData.append('params[code]', params.code.toString());
6239
+ if (params.image) {
6240
+ formData.append('image', params.image, params.image.name);
6241
+ }
6238
6242
  return this.http.post(serviceUrl, formData);
6239
6243
  }
6240
6244
  updateTransfer(params) {