@hmcts/ccpay-web-component 5.0.1-beta42 → 5.0.1-beta43

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.
@@ -8796,6 +8796,7 @@ var ServiceRequestComponent = /** @class */ (function () {
8796
8796
  */
8797
8797
  function (payment) {
8798
8798
  if (payment.method.toLocaleLowerCase() === 'payment by account' && _this.allowFurtherAccessAfter4Days(payment)) {
8799
+ _this.paymentLibComponent.paymentReference = payment.reference;
8799
8800
  _this.isPBA = true;
8800
8801
  }
8801
8802
  }));
@@ -8822,7 +8823,8 @@ var ServiceRequestComponent = /** @class */ (function () {
8822
8823
  if (this.chkForAddRemission(fee.code)) {
8823
8824
  this.feeId = fee;
8824
8825
  this.viewStatus = 'addremission';
8825
- this.paymentViewService.getApportionPaymentDetails(this.payment.reference).subscribe((/**
8826
+ this.payment = this.orderDetail[0].payments[0];
8827
+ this.paymentViewService.getApportionPaymentDetails(this.orderDetail[0].payments[0].reference).subscribe((/**
8826
8828
  * @param {?} paymentGroup
8827
8829
  * @return {?}
8828
8830
  */