@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
|
@@ -4610,7 +4610,7 @@ var CaseTransactionsComponent = /** @class */ (function () {
|
|
|
4610
4610
|
* @param {?} paymentGroupObj
|
|
4611
4611
|
* @return {?}
|
|
4612
4612
|
*/
|
|
4613
|
-
function (paymentGroupObj) { return paymentGroupObj
|
|
4613
|
+
function (paymentGroupObj) { return paymentGroupObj.reference === payment.reference; }));
|
|
4614
4614
|
_this.payment = _this.paymentGroup.payments[0];
|
|
4615
4615
|
_this.remissions = remission;
|
|
4616
4616
|
_this.remissionFeeAmt = fees.filter((/**
|
|
@@ -7380,6 +7380,7 @@ var AddRemissionComponent = /** @class */ (function () {
|
|
|
7380
7380
|
*/
|
|
7381
7381
|
function () {
|
|
7382
7382
|
var _this = this;
|
|
7383
|
+
console.log(this.viewCompStatus);
|
|
7383
7384
|
this.errorMessage = '';
|
|
7384
7385
|
this.errorMsg = [];
|
|
7385
7386
|
this.default = 'Select a different reason';
|
|
@@ -10669,12 +10670,16 @@ var ServiceRequestComponent = /** @class */ (function () {
|
|
|
10669
10670
|
* @return {?}
|
|
10670
10671
|
*/
|
|
10671
10672
|
function (paymentGroup) {
|
|
10672
|
-
//
|
|
10673
|
+
//this.paymentGroup = paymentGroup;
|
|
10673
10674
|
// this.paymentGroup.payments = this.paymentGroup.payments.filter
|
|
10674
|
-
//
|
|
10675
|
-
|
|
10676
|
-
|
|
10677
|
-
|
|
10675
|
+
//(paymentGroupObj => paymentGroupObj.reference === payment.reference);
|
|
10676
|
+
_this.payment = paymentGroup.payments[0];
|
|
10677
|
+
_this.remissions = remission;
|
|
10678
|
+
_this.remissionFeeAmt = fees.filter((/**
|
|
10679
|
+
* @param {?} data
|
|
10680
|
+
* @return {?}
|
|
10681
|
+
*/
|
|
10682
|
+
function (data) { return data.code === _this.remissions['fee_code']; }))[0].net_amount;
|
|
10678
10683
|
_this.viewStatus = 'addrefundforremission';
|
|
10679
10684
|
// const paymentAllocation = this.paymentGroup.payments[0].payment_allocation;
|
|
10680
10685
|
// this.isStatusAllocated = paymentAllocation.length > 0 && paymentAllocation[0].allocation_status === 'Allocated' || paymentAllocation.length === 0;
|