@hmcts/ccpay-web-component 5.0.10-beta15 → 5.0.10-beta16
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/refund-status/refund-status.component.js +5 -8
- package/fesm2015/hmcts-ccpay-web-component.js +10 -13
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/hmcts-ccpay-web-component.metadata.json +1 -1
- package/lib/components/refund-status/refund-status.component.d.ts +1 -1
- package/lib/components/refund-status/refund-status.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1083,7 +1083,7 @@
|
|
|
1083
1083
|
return PostRefundRetroRemission;
|
|
1084
1084
|
}());
|
|
1085
1085
|
|
|
1086
|
-
var BS_ENABLE_FLAG$
|
|
1086
|
+
var BS_ENABLE_FLAG$4 = 'bulk-scan-enabling-fe';
|
|
1087
1087
|
var PaymentViewComponent = /** @class */ (function () {
|
|
1088
1088
|
function PaymentViewComponent(paymentViewService, notificationService, paymentLibComponent, cd, OrderslistService) {
|
|
1089
1089
|
this.paymentViewService = paymentViewService;
|
|
@@ -2618,7 +2618,7 @@
|
|
|
2618
2618
|
{ type: PaymentLibService }
|
|
2619
2619
|
]; };
|
|
2620
2620
|
|
|
2621
|
-
var BS_ENABLE_FLAG$
|
|
2621
|
+
var BS_ENABLE_FLAG$3 = 'bulk-scan-enabling-fe';
|
|
2622
2622
|
var CaseTransactionsComponent = /** @class */ (function () {
|
|
2623
2623
|
function CaseTransactionsComponent(router, paymentViewService, bulkScaningPaymentService, caseTransactionsService, paymentLibComponent, OrderslistService) {
|
|
2624
2624
|
var _this = this;
|
|
@@ -3389,7 +3389,7 @@
|
|
|
3389
3389
|
return PayhubAntennaRequest;
|
|
3390
3390
|
}());
|
|
3391
3391
|
|
|
3392
|
-
var BS_ENABLE_FLAG$
|
|
3392
|
+
var BS_ENABLE_FLAG$2 = 'bulk-scan-enabling-fe';
|
|
3393
3393
|
var FeeSummaryComponent = /** @class */ (function () {
|
|
3394
3394
|
function FeeSummaryComponent(router, bulkScaningPaymentService, location, paymentViewService, paymentLibComponent, OrderslistService) {
|
|
3395
3395
|
this.router = router;
|
|
@@ -3420,7 +3420,7 @@
|
|
|
3420
3420
|
this.OrderslistService.setCaseType(this.paymentLibComponent.CASETYPE);
|
|
3421
3421
|
this.platForm = 'Antenna';
|
|
3422
3422
|
this.paymentViewService.getBSfeature().subscribe(function (features) {
|
|
3423
|
-
var result = JSON.parse(features).filter(function (feature) { return feature.uid === BS_ENABLE_FLAG$
|
|
3423
|
+
var result = JSON.parse(features).filter(function (feature) { return feature.uid === BS_ENABLE_FLAG$2; });
|
|
3424
3424
|
_this.paymentLibComponent.ISBSENABLE = result[0] ? result[0].enable : false;
|
|
3425
3425
|
}, function (err) {
|
|
3426
3426
|
_this.paymentLibComponent.ISBSENABLE = false;
|
|
@@ -3539,7 +3539,7 @@
|
|
|
3539
3539
|
this.paymentLibComponent.TAKEPAYMENT = true;
|
|
3540
3540
|
this.paymentLibComponent.viewName = 'case-transactions';
|
|
3541
3541
|
this.paymentViewService.getBSfeature().subscribe(function (features) {
|
|
3542
|
-
var result = JSON.parse(features).filter(function (feature) { return feature.uid === BS_ENABLE_FLAG$
|
|
3542
|
+
var result = JSON.parse(features).filter(function (feature) { return feature.uid === BS_ENABLE_FLAG$2; });
|
|
3543
3543
|
_this.paymentLibComponent.ISBSENABLE = result[0] ? result[0].enable : false;
|
|
3544
3544
|
}, function (err) {
|
|
3545
3545
|
_this.paymentLibComponent.ISBSENABLE = false;
|
|
@@ -4756,7 +4756,7 @@
|
|
|
4756
4756
|
return PostIssueRefundRetroRemission;
|
|
4757
4757
|
}());
|
|
4758
4758
|
|
|
4759
|
-
var BS_ENABLE_FLAG$
|
|
4759
|
+
var BS_ENABLE_FLAG$1 = 'bulk-scan-enabling-fe';
|
|
4760
4760
|
var resolvedPromise = Promise.resolve(null);
|
|
4761
4761
|
var AddRemissionComponent = /** @class */ (function () {
|
|
4762
4762
|
function AddRemissionComponent(formBuilder, router, paymentViewService, notificationService, paymentLibComponent, refundService, cd, OrderslistService) {
|
|
@@ -6433,10 +6433,8 @@
|
|
|
6433
6433
|
return IResubmitRefundRequest;
|
|
6434
6434
|
}());
|
|
6435
6435
|
|
|
6436
|
-
var BS_ENABLE_FLAG$1 = 'bulk-scan-enabling-fe';
|
|
6437
6436
|
var RefundStatusComponent = /** @class */ (function () {
|
|
6438
6437
|
function RefundStatusComponent(formBuilder, refundService, notificationService, paymentLibComponent, OrderslistService, paymentViewService) {
|
|
6439
|
-
var _this = this;
|
|
6440
6438
|
this.formBuilder = formBuilder;
|
|
6441
6439
|
this.refundService = refundService;
|
|
6442
6440
|
this.notificationService = notificationService;
|
|
@@ -6459,21 +6457,22 @@
|
|
|
6459
6457
|
this.isEditDetailsClicked = false;
|
|
6460
6458
|
this.isEditAddressDeatilsClicked = false;
|
|
6461
6459
|
this.isRefundBtnDisabled = true;
|
|
6460
|
+
this.isFromPayBubble = false;
|
|
6462
6461
|
this.isLastUpdatedByCurrentUser = true;
|
|
6463
6462
|
this.isProcessRefund = false;
|
|
6464
6463
|
this.notificationSentViewIndex = -1;
|
|
6465
6464
|
this.notificationPreview = false;
|
|
6466
6465
|
this.notificationSentView = false;
|
|
6467
6466
|
this.allowedRolesToAccessRefund = ['payments-refund-approver', 'payments-refund', 'payments'];
|
|
6468
|
-
this.isFromPayBubble = function () {
|
|
6469
|
-
return _this.API_ROOT === 'api/payment-history';
|
|
6470
|
-
};
|
|
6471
6467
|
}
|
|
6472
6468
|
RefundStatusComponent.prototype.ngOnInit = function () {
|
|
6473
6469
|
var _this = this;
|
|
6474
6470
|
this.resetRemissionForm([false, false, false, false], 'All');
|
|
6475
6471
|
this.bsPaymentDcnNumber = this.paymentLibComponent.bspaymentdcn;
|
|
6476
6472
|
this.isCallFromRefundList = this.paymentLibComponent.isCallFromRefundList;
|
|
6473
|
+
if (this.API_ROOT == 'api/payment-history') {
|
|
6474
|
+
this.isFromPayBubble = true;
|
|
6475
|
+
}
|
|
6477
6476
|
if (this.paymentLibComponent.isRefundStatusView) {
|
|
6478
6477
|
this.viewName = 'refundview';
|
|
6479
6478
|
this.OrderslistService.getRefundView().subscribe(function (data) { return _this.refundlist = data; });
|
|
@@ -6640,11 +6639,8 @@
|
|
|
6640
6639
|
RefundStatusComponent.prototype.getRefundListReason = function (refundListReason) {
|
|
6641
6640
|
if (this.paymentLibComponent.isFromRefundStatusPage && !this.paymentLibComponent.iscancelClicked) {
|
|
6642
6641
|
if (refundListReason.reason != undefined && refundListReason.reason != null && refundListReason.reason != this.refundlist.reason) {
|
|
6643
|
-
console.log('refund reason: ' + refundListReason.reason);
|
|
6644
|
-
console.log('refund code: ' + refundListReason.code);
|
|
6645
6642
|
this.refundlist.reason = refundListReason.reason;
|
|
6646
6643
|
this.refundlist.reason_code = refundListReason.code.split('-')[0].trim();
|
|
6647
|
-
console.log('refund reason code: ' + this.refundlist.reason_code);
|
|
6648
6644
|
this.refundlist.code = refundListReason.code;
|
|
6649
6645
|
this.refundCode = refundListReason.code;
|
|
6650
6646
|
}
|