@hmcts/ccpay-web-component 5.0.2-beta81 → 5.0.2-beta84
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 -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/add-remission/add-remission.component.js +2 -1
- package/esm2015/lib/components/case-transactions/case-transactions.component.js +2 -2
- package/esm2015/lib/components/service-request/service-request.component.js +10 -6
- package/esm5/lib/components/add-remission/add-remission.component.js +2 -1
- package/esm5/lib/components/case-transactions/case-transactions.component.js +2 -2
- package/esm5/lib/components/service-request/service-request.component.js +10 -6
- package/fesm2015/hmcts-ccpay-web-component.js +11 -6
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/fesm5/hmcts-ccpay-web-component.js +11 -6
- package/fesm5/hmcts-ccpay-web-component.js.map +1 -1
- package/package.json +1 -1
|
@@ -3955,7 +3955,7 @@ class CaseTransactionsComponent {
|
|
|
3955
3955
|
* @param {?} paymentGroupObj
|
|
3956
3956
|
* @return {?}
|
|
3957
3957
|
*/
|
|
3958
|
-
paymentGroupObj => paymentGroupObj
|
|
3958
|
+
paymentGroupObj => paymentGroupObj.reference === payment.reference));
|
|
3959
3959
|
this.payment = this.paymentGroup.payments[0];
|
|
3960
3960
|
this.remissions = remission;
|
|
3961
3961
|
this.remissionFeeAmt = fees.filter((/**
|
|
@@ -6447,6 +6447,7 @@ class AddRemissionComponent {
|
|
|
6447
6447
|
* @return {?}
|
|
6448
6448
|
*/
|
|
6449
6449
|
ngOnInit() {
|
|
6450
|
+
console.log(this.viewCompStatus);
|
|
6450
6451
|
this.errorMessage = '';
|
|
6451
6452
|
this.errorMsg = [];
|
|
6452
6453
|
this.default = 'Select a different reason';
|
|
@@ -9287,12 +9288,16 @@ class ServiceRequestComponent {
|
|
|
9287
9288
|
* @return {?}
|
|
9288
9289
|
*/
|
|
9289
9290
|
paymentGroup => {
|
|
9290
|
-
//
|
|
9291
|
+
//this.paymentGroup = paymentGroup;
|
|
9291
9292
|
// this.paymentGroup.payments = this.paymentGroup.payments.filter
|
|
9292
|
-
//
|
|
9293
|
-
|
|
9294
|
-
|
|
9295
|
-
|
|
9293
|
+
//(paymentGroupObj => paymentGroupObj.reference === payment.reference);
|
|
9294
|
+
this.payment = paymentGroup.payments[0];
|
|
9295
|
+
this.remissions = remission;
|
|
9296
|
+
this.remissionFeeAmt = fees.filter((/**
|
|
9297
|
+
* @param {?} data
|
|
9298
|
+
* @return {?}
|
|
9299
|
+
*/
|
|
9300
|
+
data => data.code === this.remissions['fee_code']))[0].net_amount;
|
|
9296
9301
|
this.viewStatus = 'addrefundforremission';
|
|
9297
9302
|
// const paymentAllocation = this.paymentGroup.payments[0].payment_allocation;
|
|
9298
9303
|
// this.isStatusAllocated = paymentAllocation.length > 0 && paymentAllocation[0].allocation_status === 'Allocated' || paymentAllocation.length === 0;
|