cityssm/parking-ticket-system

View on GitHub
data/configBase.ts

Summary

Maintainability
A
0 mins
Test Coverage
import type { ConfigParkingTicketStatus } from '../types/configTypes.js'

export const baseParkingTicketStatuses: ConfigParkingTicketStatus[] = [
  {
    statusKey: 'paid',
    status: 'Paid',
    statusField: {
      fieldLabel: 'Amount Paid'
    },
    statusField2: {
      fieldLabel: 'Receipt Number'
    },
    isFinalStatus: true,
    isUserSettable: false
  },
  {
    statusKey: 'withdrawn',
    status: 'Withdrawn',
    statusField: {
      fieldLabel: 'Reason for Withdrawl'
    },
    isFinalStatus: true,
    isUserSettable: true
  },
  {
    statusKey: 'trial',
    status: 'Trial Requested',
    statusField: {
      fieldLabel: 'Trial Date'
    },
    isFinalStatus: false,
    isUserSettable: true
  },
  {
    statusKey: 'convicted',
    status: 'Convicted',
    statusField: {
      fieldLabel: 'Batch ID'
    },
    isFinalStatus: true,
    isUserSettable: false
  },

  {
    statusKey: 'ownerLookupPending',
    status: 'Ownership Lookup - Pending',
    statusField: {
      fieldLabel: 'Batch ID'
    },
    isFinalStatus: false,
    isUserSettable: false
  },
  {
    statusKey: 'ownerLookupMatch',
    status: 'Ownership Lookup - Match Found',
    statusField: {
      fieldLabel: 'Lookup Record Date'
    },
    isFinalStatus: false,
    isUserSettable: false
  },
  {
    statusKey: 'ownerLookupError',
    status: 'Ownership Lookup - Error',
    statusField: {
      fieldLabel: 'Lookup Vehicle NCIC'
    },
    isFinalStatus: false,
    isUserSettable: false
  },

  {
    statusKey: 'convictionBatch',
    status: 'Conviction Batch',
    statusField: {
      fieldLabel: 'Batch ID'
    },
    isFinalStatus: true,
    isUserSettable: false
  }
]