@hmcts/ccpay-web-component 5.0.2-beta121 → 5.0.2-beta122

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.
@@ -6456,7 +6456,6 @@ class AddRemissionComponent {
6456
6456
  * @return {?}
6457
6457
  */
6458
6458
  ngOnInit() {
6459
- console.log(this.viewCompStatus, 'hhh');
6460
6459
  this.errorMessage = '';
6461
6460
  this.errorMsg = [];
6462
6461
  this.default = 'Select a different reason';
@@ -6591,8 +6590,18 @@ class AddRemissionComponent {
6591
6590
  this.viewStatus = 'processretroremissonpage';
6592
6591
  }
6593
6592
  if (this.orderDetail !== undefined) {
6594
- this.fees = this.orderDetail[0].fees;
6595
- this.paymentReference = this.orderDetail[0].payments[0].reference;
6593
+ this.paymentViewService.getApportionPaymentDetails(this.orderDetail[0].payments[0].reference).subscribe((/**
6594
+ * @param {?} paymentGroup
6595
+ * @return {?}
6596
+ */
6597
+ paymentGroup => {
6598
+ this.fees = paymentGroup.fees;
6599
+ this.paymentReference = paymentGroup.payments[0].reference;
6600
+ }), (/**
6601
+ * @param {?} error
6602
+ * @return {?}
6603
+ */
6604
+ (error) => this.errorMessage = error));
6596
6605
  }
6597
6606
  }
6598
6607
  /**