@hmcts/ccpay-web-component 5.0.2-beta52 → 5.0.2-beta53
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 -14
- 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 +5 -8
- package/esm5/lib/components/payment-view/payment-view.component.js +5 -8
- package/fesm2015/hmcts-ccpay-web-component.js +4 -7
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +4 -7
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/package.json +1 -1
|
@@ -1649,19 +1649,16 @@ var PaymentViewComponent = /** @class */ (function () {
|
|
|
1649
1649
|
var _this = this;
|
|
1650
1650
|
this.isConfirmationBtnDisabled = true;
|
|
1651
1651
|
this.errorMessage = '';
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
* @return {?}
|
|
1656
|
-
*/
|
|
1657
|
-
function (obj) { return ({ id: obj.id,
|
|
1652
|
+
/** @type {?} */
|
|
1653
|
+
var obj = this.paymentGroup.fees[0];
|
|
1654
|
+
this.fees = { id: obj.id,
|
|
1658
1655
|
code: obj.code,
|
|
1659
1656
|
version: obj.version,
|
|
1660
1657
|
apportion_amount: obj.apportion_amount,
|
|
1661
1658
|
calculated_amount: obj.calculated_amount,
|
|
1662
1659
|
updated_volume: obj.updated_volume,
|
|
1663
1660
|
volume: obj.volume,
|
|
1664
|
-
refund_amount: obj.
|
|
1661
|
+
refund_amount: obj.over_payment };
|
|
1665
1662
|
/** @type {?} */
|
|
1666
1663
|
var requestBody = new PostRefundRetroRemission(this.contactDetailsObj, this.fees, this.paymentGroup.payments[0].reference, 'RR037', this.paymentGroup.fees[0].over_payment);
|
|
1667
1664
|
this.paymentViewService.postRefundsReason(requestBody).subscribe((/**
|