@hmcts/ccpay-web-component 6.2.3-beta4 → 6.2.4-beta01
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.
- package/esm2022/lib/components/add-remission/add-remission.component.mjs +5 -1
- package/esm2022/lib/components/case-transactions/case-transactions.component.mjs +1 -20
- package/esm2022/lib/components/payment-view/payment-view.component.mjs +3 -3
- package/esm2022/lib/components/service-request/service-request.component.mjs +3 -3
- package/esm2022/lib/interfaces/IPaymentGroup.mjs +1 -1
- package/fesm2022/hmcts-ccpay-web-component.mjs +8 -23
- package/fesm2022/hmcts-ccpay-web-component.mjs.map +1 -1
- package/lib/components/case-transactions/case-transactions.component.d.ts +1 -2
- package/lib/interfaces/IPaymentGroup.d.ts +0 -2
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
+
import type { PaymentLibComponent } from '../../payment-lib.component';
|
|
2
3
|
import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
|
|
3
4
|
import { CaseTransactionsService } from '../../services/case-transactions/case-transactions.service';
|
|
4
5
|
import { BulkScaningPaymentService } from '../../services/bulk-scaning-payment/bulk-scaning-payment.service';
|
|
@@ -10,7 +11,6 @@ import { IRemission } from '../../interfaces/IRemission';
|
|
|
10
11
|
import { IPaymentView } from '../../interfaces/IPaymentView';
|
|
11
12
|
import { IOrderReferenceFee } from '../../interfaces/IOrderReferenceFee';
|
|
12
13
|
import { Router } from '@angular/router';
|
|
13
|
-
import type { PaymentLibComponent } from '../../payment-lib.component';
|
|
14
14
|
import * as i0 from "@angular/core";
|
|
15
15
|
type PaymentLibAlias = PaymentLibComponent;
|
|
16
16
|
export declare class CaseTransactionsComponent implements OnInit {
|
|
@@ -106,7 +106,6 @@ export declare class CaseTransactionsComponent implements OnInit {
|
|
|
106
106
|
calculateOverpayment(): void;
|
|
107
107
|
calculateAmountDueTo(): void;
|
|
108
108
|
validateAmountDueTo(): void;
|
|
109
|
-
calculateOverpaymentBaseOnAcceptedRefund(): void;
|
|
110
109
|
canItCalculateAmountDueForRemission(): boolean;
|
|
111
110
|
calculateRefundAmount(): number;
|
|
112
111
|
getGroupOutstandingAmount(paymentGroup: IPaymentGroup): number;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { IFee } from './IFee';
|
|
2
2
|
import { IPayment } from './IPayment';
|
|
3
3
|
import { IRemission } from './IRemission';
|
|
4
|
-
import { IRefundList } from "./IRefundList";
|
|
5
4
|
export interface IPaymentGroup {
|
|
6
5
|
payment_group_reference: string;
|
|
7
6
|
payments: IPayment[];
|
|
8
7
|
remissions: IRemission[];
|
|
9
8
|
fees: IFee[];
|
|
10
|
-
refunds: IRefundList[];
|
|
11
9
|
}
|