cat-qw-lib 2.6.55 → 2.6.59
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/fesm2022/cat-qw-lib.mjs
CHANGED
|
@@ -197,6 +197,7 @@ class SHARED {
|
|
|
197
197
|
static REFERRED_DATE = 'referredDate';
|
|
198
198
|
static REFERRED = 'referred';
|
|
199
199
|
static FINANCE = 'finance';
|
|
200
|
+
static TOTAL_FINANCE_AMOUNT = 'totalFinanceAmount';
|
|
200
201
|
static VALUATION_STATUS = 'valuationStatus';
|
|
201
202
|
static TASKS = 'tasks';
|
|
202
203
|
static TASK_BROKER_LABEL = 'B';
|
|
@@ -498,6 +499,7 @@ const QUEUE_RECORD_TABLE_COLUMN_WIDTH_LIST = {
|
|
|
498
499
|
securityAddress: 'w-3',
|
|
499
500
|
applicants: 'w-4',
|
|
500
501
|
finance: 'w-1',
|
|
502
|
+
totalFinanceAmount: 'w-2',
|
|
501
503
|
valuationStatus: 'w-2',
|
|
502
504
|
sla: 'w-8',
|
|
503
505
|
referredDate: 'w-2',
|
|
@@ -515,6 +517,7 @@ const FIELD_DISPLAY_NAMES = {
|
|
|
515
517
|
applicants: 'Applicant(s)',
|
|
516
518
|
brokerName: 'Broker',
|
|
517
519
|
finance: 'Finance',
|
|
520
|
+
totalFinanceAmount: 'Total Finance Amount',
|
|
518
521
|
securityAddress: 'Security',
|
|
519
522
|
valuationStatus: 'Val status',
|
|
520
523
|
sla: 'SLA',
|
|
@@ -534,6 +537,7 @@ const QUEUE_RECORD_TABLE_COLUMN_ORDER = [
|
|
|
534
537
|
'applicants', // Applicant(s)
|
|
535
538
|
'brokerName',
|
|
536
539
|
'finance',
|
|
540
|
+
'totalFinanceAmount', // Total Finance
|
|
537
541
|
'securityAddress',
|
|
538
542
|
'pending',
|
|
539
543
|
'sla',
|
|
@@ -2363,6 +2367,11 @@ var columnStyles = {
|
|
|
2363
2367
|
textNgClass: "text-black font-semibold",
|
|
2364
2368
|
isShowSortIcon: true
|
|
2365
2369
|
},
|
|
2370
|
+
totalFinanceAmount: {
|
|
2371
|
+
containerNgClass: "",
|
|
2372
|
+
textNgClass: "text-black font-semibold",
|
|
2373
|
+
isShowSortIcon: false
|
|
2374
|
+
},
|
|
2366
2375
|
pending: {
|
|
2367
2376
|
containerNgClass: "rowData['pending'] && rowData['pending'] !== '' ? 'queue-chip queue-chip--neutral' : ''",
|
|
2368
2377
|
textNgClass: "text-black font-semibold",
|
|
@@ -7409,6 +7418,14 @@ class QueueRecordTableBuilderService extends TableBuilder {
|
|
|
7409
7418
|
cellValue = value;
|
|
7410
7419
|
}
|
|
7411
7420
|
}
|
|
7421
|
+
else if (field === SHARED.TOTAL_FINANCE_AMOUNT) {
|
|
7422
|
+
if (value != null && value !== '') {
|
|
7423
|
+
cellValue = `£${Number(value).toLocaleString('en-GB', { minimumFractionDigits: 2, maximumFractionDigits: 2 })}`;
|
|
7424
|
+
}
|
|
7425
|
+
else {
|
|
7426
|
+
cellValue = SHARED.EMPTY;
|
|
7427
|
+
}
|
|
7428
|
+
}
|
|
7412
7429
|
else if (field === SHARED.SECURITY_ADDRESS && value) {
|
|
7413
7430
|
const line1 = value.addressLine1 || '';
|
|
7414
7431
|
cellValue = {
|