@hmcts/ccpay-web-component 6.0.11 → 6.0.13

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.
@@ -1,15 +1,14 @@
1
- import { OnInit } from '@angular/core';
1
+ import { ChangeDetectorRef, OnInit } from '@angular/core';
2
2
  import { PaymentViewService } from '../../services/payment-view/payment-view.service';
3
3
  import { NotificationService } from '../../services/notification/notification.service';
4
- import type { PaymentLibComponent } from '../../payment-lib.component';
5
4
  import { IPaymentGroup } from '../../interfaces/IPaymentGroup';
6
5
  import { IFee } from '../../interfaces/IFee';
7
6
  import { IPayment } from '../../interfaces/IPayment';
8
7
  import { IRemission } from '../../interfaces/IRemission';
9
- import { ChangeDetectorRef } from '@angular/core';
10
8
  import { IPaymentFailure } from '../../interfaces/IPaymentFailure';
11
9
  import { OrderslistService } from '../../services/orderslist.service';
12
10
  import { IRefundContactDetails } from '../../interfaces/IRefundContactDetails';
11
+ import type { PaymentLibComponent } from '../../payment-lib.component';
13
12
  import * as i0 from "@angular/core";
14
13
  export declare class PaymentViewComponent implements OnInit {
15
14
  private paymentViewService;
@@ -88,6 +87,7 @@ export declare class PaymentViewComponent implements OnInit {
88
87
  getRemissionByFeeCode(feeCode: string, remissions: IRemission[]): IRemission;
89
88
  chkIsIssueRefundBtnEnable(payment: IPayment): boolean;
90
89
  chkIsAddRefundBtnEnable(remission: IRemission): boolean;
90
+ canItBeRefunded(remission: IRemission): boolean;
91
91
  chkIsAddRemissionBtnEnable(fee: IFee): boolean;
92
92
  selectPymentOption(paymentType: string): void;
93
93
  continuePayment(paymentgrp: IPaymentGroup): void;
@@ -14,7 +14,7 @@ export declare class ReportsComponent implements OnInit {
14
14
  private bulkScaningPaymentService;
15
15
  private paymentLibComponent;
16
16
  private paymentViewService;
17
- ISPAYMENTSTATUSENABLED: string;
17
+ ISPAYMENTSTATUSENABLED: boolean;
18
18
  fmt: string;
19
19
  loc: string;
20
20
  reportsForm: FormGroup;
@@ -115,6 +115,7 @@ export declare class ServiceRequestComponent implements OnInit {
115
115
  goToPaymentViewComponent(paymentGroup: any): void;
116
116
  chkIsIssueRefundBtnEnable(payment: IPayment): boolean;
117
117
  chkIsAddRefundBtnEnable(remission: IRemission): boolean;
118
+ canItBeRefunded(remission: IRemission): boolean;
118
119
  chkIsAddRemissionBtnEnable(fee: IFee): boolean;
119
120
  resetOrderData(): void;
120
121
  selectPymentOption(paymentType: string): void;
@@ -9,4 +9,5 @@ export interface IRemission {
9
9
  fee_id: number;
10
10
  issue_refund_add_refund_add_remission: boolean;
11
11
  add_refund: boolean;
12
+ overall_balance: number;
12
13
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hmcts/ccpay-web-component",
3
- "version": "6.0.11",
3
+ "version": "6.0.13",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },