@hmcts/ccpay-web-component 5.0.2-beta85 → 5.0.2-beta86
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 +11 -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/service-request/service-request.component.js +14 -7
- package/esm5/lib/components/service-request/service-request.component.js +14 -7
- package/fesm2015/hmcts-ccpay-web-component.js +13 -6
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +13 -6
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/package.json +1 -1
|
@@ -10670,12 +10670,19 @@ var ServiceRequestComponent = /** @class */ (function () {
|
|
|
10670
10670
|
* @return {?}
|
|
10671
10671
|
*/
|
|
10672
10672
|
function (paymentGroup) {
|
|
10673
|
-
|
|
10674
|
-
|
|
10675
|
-
|
|
10676
|
-
|
|
10677
|
-
|
|
10678
|
-
|
|
10673
|
+
_this.paymentGroup = paymentGroup;
|
|
10674
|
+
_this.paymentGroup.payments = _this.paymentGroup.payments.filter((/**
|
|
10675
|
+
* @param {?} paymentGroupObj
|
|
10676
|
+
* @return {?}
|
|
10677
|
+
*/
|
|
10678
|
+
function (paymentGroupObj) { return paymentGroupObj.reference === payment.reference; }));
|
|
10679
|
+
_this.payment = _this.paymentGroup.payments[0];
|
|
10680
|
+
_this.remissions = remission;
|
|
10681
|
+
_this.remissionFeeAmt = fees.filter((/**
|
|
10682
|
+
* @param {?} data
|
|
10683
|
+
* @return {?}
|
|
10684
|
+
*/
|
|
10685
|
+
function (data) { return data.code === _this.remissions['fee_code']; }))[0].net_amount;
|
|
10679
10686
|
_this.viewStatus = 'addrefundforremission';
|
|
10680
10687
|
// const paymentAllocation = this.paymentGroup.payments[0].payment_allocation;
|
|
10681
10688
|
// this.isStatusAllocated = paymentAllocation.length > 0 && paymentAllocation[0].allocation_status === 'Allocated' || paymentAllocation.length === 0;
|