@hmcts/ccpay-web-component 5.2.9-beta01 → 5.2.9-beta02
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 +46 -77
- 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/unprocessed-payments/unprocessed-payments.component.js +46 -77
- package/fesm2015/hmcts-ccpay-web-component.js +45 -76
- package/fesm2015/hmcts-ccpay-web-component.js.map +1 -1
- package/hmcts-ccpay-web-component.metadata.json +1 -1
- package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts +2 -1
- package/lib/components/unprocessed-payments/unprocessed-payments.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -4147,92 +4147,61 @@
|
|
|
4147
4147
|
this.isBulkScanEnable = this.paymentLibComponent.ISBSENABLE;
|
|
4148
4148
|
this.isTurnOff = this.paymentLibComponent.ISTURNOFF;
|
|
4149
4149
|
this.isStFixEnable = this.paymentLibComponent.ISSFENABLE;
|
|
4150
|
-
this.
|
|
4150
|
+
this.getUnassignedPaymentlist();
|
|
4151
4151
|
};
|
|
4152
|
-
UnprocessedPaymentsComponent.prototype.
|
|
4153
|
-
var _this = this;
|
|
4152
|
+
UnprocessedPaymentsComponent.prototype.getUnassignedPaymentlist = function () {
|
|
4154
4153
|
if (this.selectedOption === 'dcn') {
|
|
4155
|
-
this.
|
|
4156
|
-
if (unassignedPayments['data'] && unassignedPayments['data'].payments) {
|
|
4157
|
-
_this.setValuesForUnassignedRecord(unassignedPayments['data']);
|
|
4158
|
-
}
|
|
4159
|
-
else if (unassignedPayments['payments']) {
|
|
4160
|
-
_this.setValuesForUnassignedRecord(unassignedPayments);
|
|
4161
|
-
}
|
|
4162
|
-
else {
|
|
4163
|
-
_this.upPaymentErrorMessage = 'error';
|
|
4164
|
-
_this.getUnprocessedFeeCount.emit('0');
|
|
4165
|
-
}
|
|
4166
|
-
return _this.OrderslistService.getFeeExists();
|
|
4167
|
-
})).subscribe(function (data) {
|
|
4168
|
-
if (data !== null) {
|
|
4169
|
-
_this.FEE_RECORDS_EXISTS = data;
|
|
4170
|
-
}
|
|
4171
|
-
}, function (error) {
|
|
4172
|
-
_this.upPaymentErrorMessage = error;
|
|
4173
|
-
_this.getUnprocessedFeeCount.emit('0');
|
|
4174
|
-
});
|
|
4154
|
+
this.getBSPaymentsByDCNandFee();
|
|
4175
4155
|
}
|
|
4176
4156
|
else {
|
|
4177
|
-
this.
|
|
4178
|
-
if (unassignedPayments['data'] && unassignedPayments['data'].payments) {
|
|
4179
|
-
_this.setValuesForUnassignedRecord(unassignedPayments['data']);
|
|
4180
|
-
}
|
|
4181
|
-
else if (unassignedPayments['payments']) {
|
|
4182
|
-
_this.setValuesForUnassignedRecord(unassignedPayments);
|
|
4183
|
-
}
|
|
4184
|
-
else {
|
|
4185
|
-
_this.upPaymentErrorMessage = 'error';
|
|
4186
|
-
_this.getUnprocessedFeeCount.emit('0');
|
|
4187
|
-
}
|
|
4188
|
-
return _this.OrderslistService.getFeeExists();
|
|
4189
|
-
})).subscribe(function (data) {
|
|
4190
|
-
if (data !== null) {
|
|
4191
|
-
_this.FEE_RECORDS_EXISTS = data;
|
|
4192
|
-
}
|
|
4193
|
-
}, function (error) {
|
|
4194
|
-
_this.upPaymentErrorMessage = error;
|
|
4195
|
-
_this.getUnprocessedFeeCount.emit('0');
|
|
4196
|
-
});
|
|
4157
|
+
this.getBSPaymentsByCCDandFee();
|
|
4197
4158
|
}
|
|
4198
4159
|
};
|
|
4199
|
-
UnprocessedPaymentsComponent.prototype.
|
|
4160
|
+
UnprocessedPaymentsComponent.prototype.getBSPaymentsByDCNandFee = function () {
|
|
4200
4161
|
var _this = this;
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
_this.upPaymentErrorMessage = 'error';
|
|
4211
|
-
_this.getUnprocessedFeeCount.emit('0');
|
|
4212
|
-
}
|
|
4213
|
-
return _this.OrderslistService.getFeeExists();
|
|
4214
|
-
}, function (error) {
|
|
4215
|
-
_this.upPaymentErrorMessage = error;
|
|
4162
|
+
this.bulkScaningPaymentService.getBSPaymentsByDCN(this.dcnNumber).pipe(operators.switchMap(function (unassignedPayments) {
|
|
4163
|
+
if (unassignedPayments['data'] && unassignedPayments['data'].payments) {
|
|
4164
|
+
_this.setValuesForUnassignedRecord(unassignedPayments['data']);
|
|
4165
|
+
}
|
|
4166
|
+
else if (unassignedPayments['payments']) {
|
|
4167
|
+
_this.setValuesForUnassignedRecord(unassignedPayments);
|
|
4168
|
+
}
|
|
4169
|
+
else {
|
|
4170
|
+
_this.upPaymentErrorMessage = 'error';
|
|
4216
4171
|
_this.getUnprocessedFeeCount.emit('0');
|
|
4217
|
-
}
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
_this.
|
|
4172
|
+
}
|
|
4173
|
+
return _this.OrderslistService.getFeeExists();
|
|
4174
|
+
})).subscribe(function (data) {
|
|
4175
|
+
if (data !== null) {
|
|
4176
|
+
_this.FEE_RECORDS_EXISTS = data;
|
|
4177
|
+
}
|
|
4178
|
+
}, function (error) {
|
|
4179
|
+
_this.upPaymentErrorMessage = error;
|
|
4180
|
+
_this.getUnprocessedFeeCount.emit('0');
|
|
4181
|
+
});
|
|
4182
|
+
};
|
|
4183
|
+
UnprocessedPaymentsComponent.prototype.getBSPaymentsByCCDandFee = function () {
|
|
4184
|
+
var _this = this;
|
|
4185
|
+
this.bulkScaningPaymentService.getBSPaymentsByCCD(this.ccdCaseNumber).pipe(operators.switchMap(function (unassignedPayments) {
|
|
4186
|
+
if (unassignedPayments['data'] && unassignedPayments['data'].payments) {
|
|
4187
|
+
_this.setValuesForUnassignedRecord(unassignedPayments['data']);
|
|
4188
|
+
}
|
|
4189
|
+
else if (unassignedPayments['payments']) {
|
|
4190
|
+
_this.setValuesForUnassignedRecord(unassignedPayments);
|
|
4191
|
+
}
|
|
4192
|
+
else {
|
|
4193
|
+
_this.upPaymentErrorMessage = 'error';
|
|
4233
4194
|
_this.getUnprocessedFeeCount.emit('0');
|
|
4234
|
-
}
|
|
4235
|
-
|
|
4195
|
+
}
|
|
4196
|
+
return _this.OrderslistService.getFeeExists();
|
|
4197
|
+
})).subscribe(function (data) {
|
|
4198
|
+
if (data !== null) {
|
|
4199
|
+
_this.FEE_RECORDS_EXISTS = data;
|
|
4200
|
+
}
|
|
4201
|
+
}, function (error) {
|
|
4202
|
+
_this.upPaymentErrorMessage = error;
|
|
4203
|
+
_this.getUnprocessedFeeCount.emit('0');
|
|
4204
|
+
});
|
|
4236
4205
|
};
|
|
4237
4206
|
UnprocessedPaymentsComponent.prototype.setValuesForUnassignedRecord = function (unassignedPayments) {
|
|
4238
4207
|
this.unassignedRecordList = unassignedPayments.payments;
|