@hmcts/ccpay-web-component 5.0.2-beta81 → 5.0.2-beta84

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.
@@ -3955,7 +3955,7 @@ class CaseTransactionsComponent {
3955
3955
  * @param {?} paymentGroupObj
3956
3956
  * @return {?}
3957
3957
  */
3958
- paymentGroupObj => paymentGroupObj['reference'].includes(payment.reference)));
3958
+ paymentGroupObj => paymentGroupObj.reference === payment.reference));
3959
3959
  this.payment = this.paymentGroup.payments[0];
3960
3960
  this.remissions = remission;
3961
3961
  this.remissionFeeAmt = fees.filter((/**
@@ -6447,6 +6447,7 @@ class AddRemissionComponent {
6447
6447
  * @return {?}
6448
6448
  */
6449
6449
  ngOnInit() {
6450
+ console.log(this.viewCompStatus);
6450
6451
  this.errorMessage = '';
6451
6452
  this.errorMsg = [];
6452
6453
  this.default = 'Select a different reason';
@@ -9287,12 +9288,16 @@ class ServiceRequestComponent {
9287
9288
  * @return {?}
9288
9289
  */
9289
9290
  paymentGroup => {
9290
- // this.paymentGroup = paymentGroup;
9291
+ //this.paymentGroup = paymentGroup;
9291
9292
  // this.paymentGroup.payments = this.paymentGroup.payments.filter
9292
- // (paymentGroupObj => paymentGroupObj['reference'].includes(payment.reference));
9293
- // this.payment = this.paymentGroup.payments[0];
9294
- // this.remissions = remission;
9295
- // this.remissionFeeAmt = fees.filter(data=>data.code === this.remissions['fee_code'])[0].net_amount;
9293
+ //(paymentGroupObj => paymentGroupObj.reference === payment.reference);
9294
+ this.payment = paymentGroup.payments[0];
9295
+ this.remissions = remission;
9296
+ this.remissionFeeAmt = fees.filter((/**
9297
+ * @param {?} data
9298
+ * @return {?}
9299
+ */
9300
+ data => data.code === this.remissions['fee_code']))[0].net_amount;
9296
9301
  this.viewStatus = 'addrefundforremission';
9297
9302
  // const paymentAllocation = this.paymentGroup.payments[0].payment_allocation;
9298
9303
  // this.isStatusAllocated = paymentAllocation.length > 0 && paymentAllocation[0].allocation_status === 'Allocated' || paymentAllocation.length === 0;