@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.
- package/bundles/hmcts-ccpay-web-component.umd.js +10 -6
- package/bundles/hmcts-ccpay-web-component.umd.js.map +1 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js +1 -1
- package/bundles/hmcts-ccpay-web-component.umd.min.js.map +1 -1
- package/esm2015/lib/components/add-remission/add-remission.component.js +2 -1
- package/esm2015/lib/components/case-transactions/case-transactions.component.js +2 -2
- package/esm2015/lib/components/service-request/service-request.component.js +10 -6
- package/esm5/lib/components/add-remission/add-remission.component.js +2 -1
- package/esm5/lib/components/case-transactions/case-transactions.component.js +2 -2
- package/esm5/lib/components/service-request/service-request.component.js +10 -6
- package/fesm2015/hmcts-ccpay-web-component.js +11 -6
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +11 -6
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/package.json +1 -1
|
@@ -4556,7 +4556,7 @@
|
|
|
4556
4556
|
_this.paymentGroup.payments = paymentGroup.payments.filter(( /**
|
|
4557
4557
|
* @param {?} paymentGroupObj
|
|
4558
4558
|
* @return {?}
|
|
4559
|
-
*/function (paymentGroupObj) { return paymentGroupObj
|
|
4559
|
+
*/function (paymentGroupObj) { return paymentGroupObj.reference === payment.reference; }));
|
|
4560
4560
|
_this.payment = _this.paymentGroup.payments[0];
|
|
4561
4561
|
_this.remissions = remission;
|
|
4562
4562
|
_this.remissionFeeAmt = fees.filter(( /**
|
|
@@ -7274,6 +7274,7 @@
|
|
|
7274
7274
|
*/
|
|
7275
7275
|
function () {
|
|
7276
7276
|
var _this = this;
|
|
7277
|
+
console.log(this.viewCompStatus);
|
|
7277
7278
|
this.errorMessage = '';
|
|
7278
7279
|
this.errorMsg = [];
|
|
7279
7280
|
this.default = 'Select a different reason';
|
|
@@ -10485,12 +10486,15 @@
|
|
|
10485
10486
|
* @param {?} paymentGroup
|
|
10486
10487
|
* @return {?}
|
|
10487
10488
|
*/function (paymentGroup) {
|
|
10488
|
-
//
|
|
10489
|
+
//this.paymentGroup = paymentGroup;
|
|
10489
10490
|
// this.paymentGroup.payments = this.paymentGroup.payments.filter
|
|
10490
|
-
//
|
|
10491
|
-
|
|
10492
|
-
|
|
10493
|
-
|
|
10491
|
+
//(paymentGroupObj => paymentGroupObj.reference === payment.reference);
|
|
10492
|
+
_this.payment = paymentGroup.payments[0];
|
|
10493
|
+
_this.remissions = remission;
|
|
10494
|
+
_this.remissionFeeAmt = fees.filter(( /**
|
|
10495
|
+
* @param {?} data
|
|
10496
|
+
* @return {?}
|
|
10497
|
+
*/function (data) { return data.code === _this.remissions['fee_code']; }))[0].net_amount;
|
|
10494
10498
|
_this.viewStatus = 'addrefundforremission';
|
|
10495
10499
|
// const paymentAllocation = this.paymentGroup.payments[0].payment_allocation;
|
|
10496
10500
|
// this.isStatusAllocated = paymentAllocation.length > 0 && paymentAllocation[0].allocation_status === 'Allocated' || paymentAllocation.length === 0;
|