iptdevs-design-system 3.1.274 → 3.1.276

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.
@@ -276,3 +276,30 @@ export interface ICancelledReceiptByDateRq {
276
276
  start_date: Date | null;
277
277
  finish_date: Date | null;
278
278
  }
279
+ export interface IPaymentsReceivedByUserRq {
280
+ token: string;
281
+ code_type_consult: number;
282
+ start_date: Date;
283
+ finish_date: Date;
284
+ user_code: number;
285
+ }
286
+ export interface IObtainPaymentsReceivedByUserRs {
287
+ payments: IPaymentsReceivedByUserRs[];
288
+ total_amount_by_method: {
289
+ [key: string]: number;
290
+ };
291
+ }
292
+ export interface IPaymentsReceivedByUserRs {
293
+ payment_method: number;
294
+ cod_code: number | null;
295
+ english_level: number | null;
296
+ receipt_code: number;
297
+ student_code: number;
298
+ amount_pay: number;
299
+ discount_pay: number;
300
+ concept_code: number;
301
+ concept_name: string;
302
+ invoice_cancelled: number;
303
+ full_name: string;
304
+ date_pay: Date;
305
+ }
@@ -1,6 +1,6 @@
1
1
  import { HttpClient } from '@angular/common/http';
2
2
  import { Observable } from 'rxjs';
3
- import { getdiscountAllRq, DiscountRq, DiscountUpdateRq, IObtainAllCoursewallet, IAssignRequestRq, IObtainAvailableCourseRs, IGetCodByPaymentPlanRq, IUpdateAmountCodPaymentsRq, IParamsUpdateDateCodPaymentsRq, ICancelStudentReceiptRq, ICancelledReceiptByDateRq } from '../../models/budget/budget.model';
3
+ import { getdiscountAllRq, DiscountRq, DiscountUpdateRq, IObtainAllCoursewallet, IAssignRequestRq, IObtainAvailableCourseRs, IGetCodByPaymentPlanRq, IUpdateAmountCodPaymentsRq, IParamsUpdateDateCodPaymentsRq, ICancelStudentReceiptRq, ICancelledReceiptByDateRq, IPaymentsReceivedByUserRq } from '../../models/budget/budget.model';
4
4
  import { IFullCodStudentOverdueByCoordinatorRq, IPaymentOverdueByCoordinatorCourseRq, IPaymentOverdueByCoordinatorRq, PaymentBillRq2, PriceByTypeServiceRq } from '../../models/payment/payment-rq.model';
5
5
  import { IgetCoursesFinishAndunassignedRq } from '../../models/reports/reports.model';
6
6
  import { IPTGeneralService } from '../service-enviroments';
@@ -47,6 +47,7 @@ export declare class BudgetService extends IPTGeneralService {
47
47
  obtainPaymentsForReceiptCode(codeStudent: number): Observable<any>;
48
48
  canelStudentReceipt(params: ICancelStudentReceiptRq): Observable<any>;
49
49
  getCancelledReceiptsByDate(params: ICancelledReceiptByDateRq): Observable<any>;
50
+ obtainPaymentreceivedByUser(params: IPaymentsReceivedByUserRq): Observable<any>;
50
51
  static ɵfac: i0.ɵɵFactoryDeclaration<BudgetService, never>;
51
52
  static ɵprov: i0.ɵɵInjectableDeclaration<BudgetService>;
52
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iptdevs-design-system",
3
- "version": "3.1.274",
3
+ "version": "3.1.276",
4
4
  "description": "Library common elements into IPT Plattform.",
5
5
  "keywords": [
6
6
  "IPT",