@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
|
@@ -6871,6 +6871,13 @@ class AddRemissionComponent {
|
|
|
6871
6871
|
*/
|
|
6872
6872
|
gotoIssueRefundConfirmation(payment) {
|
|
6873
6873
|
if (this.isFromCheckAnsPage) {
|
|
6874
|
+
this.totalRefundAmount = this.remissionForm.value.feesList.reduce((/**
|
|
6875
|
+
* @param {?} a
|
|
6876
|
+
* @param {?} c
|
|
6877
|
+
* @return {?}
|
|
6878
|
+
*/
|
|
6879
|
+
(a, c) => a + c.amounttorefund * c.selected), 0);
|
|
6880
|
+
this.isFromCheckAnsPage = false;
|
|
6874
6881
|
this.viewStatus = 'checkissuerefundpage';
|
|
6875
6882
|
this.viewCompStatus = '';
|
|
6876
6883
|
return;
|
|
@@ -6936,6 +6943,13 @@ class AddRemissionComponent {
|
|
|
6936
6943
|
*/
|
|
6937
6944
|
gotoIssuePage() {
|
|
6938
6945
|
if (this.isFromCheckAnsPage) {
|
|
6946
|
+
this.isFromCheckAnsPage = false;
|
|
6947
|
+
this.totalRefundAmount = this.remissionForm.value.feesList.reduce((/**
|
|
6948
|
+
* @param {?} a
|
|
6949
|
+
* @param {?} c
|
|
6950
|
+
* @return {?}
|
|
6951
|
+
*/
|
|
6952
|
+
(a, c) => a + c.amounttorefund * c.selected), 0);
|
|
6939
6953
|
this.viewStatus = 'checkissuerefundpage';
|
|
6940
6954
|
this.viewCompStatus = '';
|
|
6941
6955
|
return;
|
|
@@ -6962,10 +6976,10 @@ class AddRemissionComponent {
|
|
|
6962
6976
|
/** @type {?} */
|
|
6963
6977
|
let calculatedAmount = +((/** @type {?} */ (document.getElementById('calculatedAmount_' + checkboxs[j].value)))).value;
|
|
6964
6978
|
this.remissionForm.value.feesList.find((/**
|
|
6965
|
-
* @param {?}
|
|
6979
|
+
* @param {?} id
|
|
6966
6980
|
* @return {?}
|
|
6967
6981
|
*/
|
|
6968
|
-
|
|
6982
|
+
id => id = checkboxs[j].value))['amounttorefund'] = apportionAmount;
|
|
6969
6983
|
if (amountToRefund === apportionAmount) {
|
|
6970
6984
|
this.fullRefund = true;
|
|
6971
6985
|
}
|