@hmcts/ccpay-web-component 5.0.2-beta96 → 5.0.2-beta97

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.
@@ -5149,18 +5149,23 @@
5149
5149
  if (fee.calculated_amount === 0) {
5150
5150
  _this.isFeeAmountZero = true;
5151
5151
  }
5152
- _this.isRemissionsMatch = false;
5153
- paymentGroup.remissions.forEach(( /**
5154
- * @param {?} rem
5155
- * @return {?}
5156
- */function (rem) {
5157
- if (rem.fee_code === fee.code) {
5158
- _this.isRemissionsMatch = true;
5159
- fee['remissions'] = rem;
5152
+ if (paymentGroup.remissions) {
5153
+ _this.isRemissionsMatch = false;
5154
+ paymentGroup.remissions.forEach(( /**
5155
+ * @param {?} rem
5156
+ * @return {?}
5157
+ */function (rem) {
5158
+ if (rem.fee_code === fee.code) {
5159
+ _this.isRemissionsMatch = true;
5160
+ fee['remissions'] = rem;
5161
+ fees.push(fee);
5162
+ }
5163
+ }));
5164
+ if (!_this.isRemissionsMatch) {
5160
5165
  fees.push(fee);
5161
5166
  }
5162
- }));
5163
- if (!_this.isRemissionsMatch) {
5167
+ }
5168
+ else {
5164
5169
  fees.push(fee);
5165
5170
  }
5166
5171
  }));
@@ -7217,12 +7222,11 @@
7217
7222
  * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
7218
7223
  */
7219
7224
  var AddRemissionComponent = /** @class */ (function () {
7220
- function AddRemissionComponent(formBuilder, router$$1, paymentViewService, paymentLibComponent, PaymentViewComponent$$1, refundService, cd, OrderslistService$$1) {
7225
+ function AddRemissionComponent(formBuilder, router$$1, paymentViewService, paymentLibComponent, refundService, cd, OrderslistService$$1) {
7221
7226
  this.formBuilder = formBuilder;
7222
7227
  this.router = router$$1;
7223
7228
  this.paymentViewService = paymentViewService;
7224
7229
  this.paymentLibComponent = paymentLibComponent;
7225
- this.PaymentViewComponent = PaymentViewComponent$$1;
7226
7230
  this.refundService = refundService;
7227
7231
  this.cd = cd;
7228
7232
  this.OrderslistService = OrderslistService$$1;
@@ -7409,7 +7413,7 @@
7409
7413
  this.paymentLibComponent.paymentMethod = this.payment.method;
7410
7414
  this.paymentLibComponent.paymentGroupReference = this.paymentGroupRef;
7411
7415
  this.paymentLibComponent.paymentReference = this.paymentReference;
7412
- this.PaymentViewComponent.viewCompStatus = 'overpayment';
7416
+ //this.PaymentViewComponent.viewCompStatus = 'overpayment';
7413
7417
  this.paymentLibComponent.viewName = 'payment-view';
7414
7418
  };
7415
7419
  /**
@@ -8725,7 +8729,6 @@
8725
8729
  { type: router.Router },
8726
8730
  { type: PaymentViewService },
8727
8731
  { type: PaymentLibComponent },
8728
- { type: PaymentViewComponent },
8729
8732
  { type: RefundsService },
8730
8733
  { type: i0.ChangeDetectorRef },
8731
8734
  { type: OrderslistService }