@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,35 +1729,35 @@ var PaymentViewComponent = /** @class */ (function () {
|
|
|
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
|
+
*/
|
|
1738
|
+
function (paymentGroup) {
|
|
1739
|
+
_this.paymentGroup = paymentGroup;
|
|
1740
|
+
_this.paymentGroup.payments = _this.paymentGroup.payments.filter((/**
|
|
1741
|
+
* @param {?} paymentGroupObj
|
|
1736
1742
|
* @return {?}
|
|
1737
1743
|
*/
|
|
1738
|
-
function (
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
*/
|
|
1744
|
-
function (paymentGroupObj) { return paymentGroupObj['reference'].includes(_this.payment.reference); }));
|
|
1745
|
-
_this.payment = _this.paymentGroup.payments[0];
|
|
1746
|
-
_this.remissions = remission;
|
|
1747
|
-
_this.remissionFeeAmt = fees.filter((/**
|
|
1748
|
-
* @param {?} data
|
|
1749
|
-
* @return {?}
|
|
1750
|
-
*/
|
|
1751
|
-
function (data) { return data.code === _this.remissions['fee_code']; }))[0].net_amount;
|
|
1752
|
-
_this.viewStatus = 'addrefundforremission';
|
|
1753
|
-
// const paymentAllocation = this.paymentGroup.payments[0].payment_allocation;
|
|
1754
|
-
// this.isStatusAllocated = paymentAllocation.length > 0 && paymentAllocation[0].allocation_status === 'Allocated' || paymentAllocation.length === 0;
|
|
1755
|
-
}), (/**
|
|
1756
|
-
* @param {?} error
|
|
1744
|
+
function (paymentGroupObj) { return paymentGroupObj['reference'].includes(_this.payment.reference); }));
|
|
1745
|
+
_this.payment = _this.paymentGroup.payments[0];
|
|
1746
|
+
_this.remissions = remission;
|
|
1747
|
+
_this.remissionFeeAmt = fees.filter((/**
|
|
1748
|
+
* @param {?} data
|
|
1757
1749
|
* @return {?}
|
|
1758
1750
|
*/
|
|
1759
|
-
function (
|
|
1760
|
-
|
|
1751
|
+
function (data) { return data.code === _this.remissions['fee_code']; }))[0].net_amount;
|
|
1752
|
+
_this.viewStatus = 'addrefundforremission';
|
|
1753
|
+
// const paymentAllocation = this.paymentGroup.payments[0].payment_allocation;
|
|
1754
|
+
// this.isStatusAllocated = paymentAllocation.length > 0 && paymentAllocation[0].allocation_status === 'Allocated' || paymentAllocation.length === 0;
|
|
1755
|
+
}), (/**
|
|
1756
|
+
* @param {?} error
|
|
1757
|
+
* @return {?}
|
|
1758
|
+
*/
|
|
1759
|
+
function (error) { return _this.errorMessage = error; }));
|
|
1760
|
+
//}
|
|
1761
1761
|
};
|
|
1762
1762
|
/**
|
|
1763
1763
|
* @param {?} paymentgrp
|