cat-qw-lib 2.1.49 → 2.1.50

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.
@@ -504,6 +504,19 @@ const FIELD_DISPLAY_NAMES = {
504
504
  lending: 'Type',
505
505
  tasks: 'Tasks'
506
506
  };
507
+ // ...existing code...
508
+ const QUEUE_RECORD_TABLE_COLUMN_ORDER = [
509
+ 'riskRating',
510
+ 'appId', // App. ID
511
+ 'applicants', // Company & Applicant(s)
512
+ 'brokerName',
513
+ 'finance',
514
+ 'securityAddress',
515
+ 'pending',
516
+ 'lending',
517
+ 'tasks'
518
+ ];
519
+ // ...existing code...
507
520
 
508
521
  class SidebarComponent {
509
522
  renderer;
@@ -6229,10 +6242,12 @@ class QueueRecordTableBuilderService extends TableBuilder {
6229
6242
  SHARED.ASSIGNED_TO,
6230
6243
  SHARED.TASK_COMPLETION_PERCENT,
6231
6244
  SHARED.RISK_RATING,
6232
- SHARED.LENDING
6245
+ SHARED.LENDING,
6246
+ SHARED.BROKERCOMPANY_NAME
6233
6247
  ]; // Fields to exclude from table columns
6234
6248
  // Get all fields from the first record, excluding specified fields
6235
- const availableFields = Object.keys(firstRecord).filter(field => !excludedFields.includes(field));
6249
+ let availableFields = QUEUE_RECORD_TABLE_COLUMN_ORDER
6250
+ .filter(field => !excludedFields.includes(field) && firstRecord.hasOwnProperty(field));
6236
6251
  const columnWidths = QUEUE_RECORD_TABLE_COLUMN_WIDTH_LIST;
6237
6252
  table.records = records.map((apiRecord, index) => {
6238
6253
  const record = {