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