@hmcts/ccpay-web-component 5.0.2-beta74 → 5.0.2-beta77
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 +23 -23
- 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/payment-view/payment-view.component.js +26 -26
- package/esm5/lib/components/payment-view/payment-view.component.js +26 -26
- package/fesm2015/hmcts-ccpay-web-component.js +25 -25
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +25 -25
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/package.json +1 -1
|
@@ -1729,31 +1729,31 @@
|
|
|
1729
1729
|
*/
|
|
1730
1730
|
function (payment, remission, fees) {
|
|
1731
1731
|
var _this = this;
|
|
1732
|
-
if
|
|
1733
|
-
|
|
1734
|
-
|
|
1735
|
-
|
|
1732
|
+
//if(!this.chkIsIssueRefundBtnEnable(payment)) {
|
|
1733
|
+
this.payment = payment;
|
|
1734
|
+
this.paymentViewService.getApportionPaymentDetails(this.payment.reference).subscribe(( /**
|
|
1735
|
+
* @param {?} paymentGroup
|
|
1736
|
+
* @return {?}
|
|
1737
|
+
*/function (paymentGroup) {
|
|
1738
|
+
_this.paymentGroup = paymentGroup;
|
|
1739
|
+
_this.paymentGroup.payments = _this.paymentGroup.payments.filter(( /**
|
|
1740
|
+
* @param {?} paymentGroupObj
|
|
1736
1741
|
* @return {?}
|
|
1737
|
-
*/function (
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
*/function (paymentGroupObj) { return paymentGroupObj['reference'].includes(_this.payment.reference); }));
|
|
1743
|
-
_this.payment = _this.paymentGroup.payments[0];
|
|
1744
|
-
_this.remissions = remission;
|
|
1745
|
-
_this.remissionFeeAmt = fees.filter(( /**
|
|
1746
|
-
* @param {?} data
|
|
1747
|
-
* @return {?}
|
|
1748
|
-
*/function (data) { return data.code === _this.remissions['fee_code']; }))[0].net_amount;
|
|
1749
|
-
_this.viewStatus = 'addrefundforremission';
|
|
1750
|
-
// const paymentAllocation = this.paymentGroup.payments[0].payment_allocation;
|
|
1751
|
-
// this.isStatusAllocated = paymentAllocation.length > 0 && paymentAllocation[0].allocation_status === 'Allocated' || paymentAllocation.length === 0;
|
|
1752
|
-
}), ( /**
|
|
1753
|
-
* @param {?} error
|
|
1742
|
+
*/function (paymentGroupObj) { return paymentGroupObj['reference'].includes(_this.payment.reference); }));
|
|
1743
|
+
_this.payment = _this.paymentGroup.payments[0];
|
|
1744
|
+
_this.remissions = remission;
|
|
1745
|
+
_this.remissionFeeAmt = fees.filter(( /**
|
|
1746
|
+
* @param {?} data
|
|
1754
1747
|
* @return {?}
|
|
1755
|
-
*/function (
|
|
1756
|
-
|
|
1748
|
+
*/function (data) { return data.code === _this.remissions['fee_code']; }))[0].net_amount;
|
|
1749
|
+
_this.viewStatus = 'addrefundforremission';
|
|
1750
|
+
// const paymentAllocation = this.paymentGroup.payments[0].payment_allocation;
|
|
1751
|
+
// this.isStatusAllocated = paymentAllocation.length > 0 && paymentAllocation[0].allocation_status === 'Allocated' || paymentAllocation.length === 0;
|
|
1752
|
+
}), ( /**
|
|
1753
|
+
* @param {?} error
|
|
1754
|
+
* @return {?}
|
|
1755
|
+
*/function (error) { return _this.errorMessage = error; }));
|
|
1756
|
+
//}
|
|
1757
1757
|
};
|
|
1758
1758
|
/**
|
|
1759
1759
|
* @param {?} paymentgrp
|