iptdevs-design-system 3.1.804 → 3.1.806

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.
@@ -3540,6 +3540,11 @@ class CourseService extends IPTGeneralService {
3540
3540
  this.generateRequestParams(params);
3541
3541
  return this.http.post(serviceUrl, this.httpOptions);
3542
3542
  }
3543
+ getCourseTheoryAndClubAllData(params) {
3544
+ let serviceUrl = this.SERVICE_URL + 'post/course/theory/and/club/all/data';
3545
+ this.generateRequestParams(params);
3546
+ return this.http.post(serviceUrl, this.httpOptions);
3547
+ }
3543
3548
  }
3544
3549
  CourseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CourseService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
3545
3550
  CourseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CourseService, providedIn: 'root' });
@@ -6205,12 +6210,22 @@ class BudgetService extends IPTGeneralService {
6205
6210
  responseType: 'blob',
6206
6211
  });
6207
6212
  }
6208
- assignImageToTransfer(params) {
6213
+ /*
6214
+ assignImageToTransfer(params: ITransferAssignImage): Observable<any> {
6209
6215
  const serviceUrl = this.SERVICE_URL + 'post/transfer/assign-image';
6210
6216
  const formData = new FormData();
6211
6217
  formData.append('token', params.token);
6212
6218
  formData.append('code', params.code.toString());
6213
6219
  formData.append('image', params.image, params.image.name);
6220
+
6221
+ return this.http.post(serviceUrl, formData);
6222
+ } */
6223
+ assignImageToTransfer(params) {
6224
+ const serviceUrl = this.SERVICE_URL + 'post/transfer/assign-image';
6225
+ const formData = new FormData();
6226
+ formData.append('params[token]', params.token);
6227
+ formData.append('params[code]', params.code.toString());
6228
+ formData.append('params[image]', params.image, params.image.name);
6214
6229
  return this.http.post(serviceUrl, formData);
6215
6230
  }
6216
6231
  updateTransfer(params) {