@hmcts/ccpay-web-component 5.0.1-beta136 → 5.0.1-beta137
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 +14 -2
- 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/add-remission/add-remission.component.js +17 -3
- package/esm5/lib/components/add-remission/add-remission.component.js +17 -3
- package/fesm2015/hmcts-ccpay-web-component.js +16 -2
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +16 -2
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/package.json +1 -1
|
@@ -7852,6 +7852,13 @@ var AddRemissionComponent = /** @class */ (function () {
|
|
|
7852
7852
|
*/
|
|
7853
7853
|
function (payment) {
|
|
7854
7854
|
if (this.isFromCheckAnsPage) {
|
|
7855
|
+
this.totalRefundAmount = this.remissionForm.value.feesList.reduce((/**
|
|
7856
|
+
* @param {?} a
|
|
7857
|
+
* @param {?} c
|
|
7858
|
+
* @return {?}
|
|
7859
|
+
*/
|
|
7860
|
+
function (a, c) { return a + c.amounttorefund * c.selected; }), 0);
|
|
7861
|
+
this.isFromCheckAnsPage = false;
|
|
7855
7862
|
this.viewStatus = 'checkissuerefundpage';
|
|
7856
7863
|
this.viewCompStatus = '';
|
|
7857
7864
|
return;
|
|
@@ -7923,6 +7930,13 @@ var AddRemissionComponent = /** @class */ (function () {
|
|
|
7923
7930
|
*/
|
|
7924
7931
|
function () {
|
|
7925
7932
|
if (this.isFromCheckAnsPage) {
|
|
7933
|
+
this.isFromCheckAnsPage = false;
|
|
7934
|
+
this.totalRefundAmount = this.remissionForm.value.feesList.reduce((/**
|
|
7935
|
+
* @param {?} a
|
|
7936
|
+
* @param {?} c
|
|
7937
|
+
* @return {?}
|
|
7938
|
+
*/
|
|
7939
|
+
function (a, c) { return a + c.amounttorefund * c.selected; }), 0);
|
|
7926
7940
|
this.viewStatus = 'checkissuerefundpage';
|
|
7927
7941
|
this.viewCompStatus = '';
|
|
7928
7942
|
return;
|
|
@@ -7949,10 +7963,10 @@ var AddRemissionComponent = /** @class */ (function () {
|
|
|
7949
7963
|
/** @type {?} */
|
|
7950
7964
|
var calculatedAmount = +((/** @type {?} */ (document.getElementById('calculatedAmount_' + checkboxs[j].value)))).value;
|
|
7951
7965
|
this.remissionForm.value.feesList.find((/**
|
|
7952
|
-
* @param {?}
|
|
7966
|
+
* @param {?} id
|
|
7953
7967
|
* @return {?}
|
|
7954
7968
|
*/
|
|
7955
|
-
function (
|
|
7969
|
+
function (id) { return id = checkboxs[j].value; }))['amounttorefund'] = apportionAmount;
|
|
7956
7970
|
if (amountToRefund === apportionAmount) {
|
|
7957
7971
|
this.fullRefund = true;
|
|
7958
7972
|
}
|