cityssm/parking-ticket-system

View on GitHub
handlers/plates-ontario-get/mtoImport.ts

Summary

Maintainability
A
0 mins
Test Coverage
import type { Request, Response } from 'express'

import getUnreceivedLookupBatches from '../../database/parkingDB/getUnreceivedLookupBatches.js'

export default function handler(_request: Request, response: Response): void {
  const unreceivedBatches = getUnreceivedLookupBatches(false)

  response.render('mto-plateImport', {
    headTitle: 'MTO Licence Plate Ownership Import',
    batches: unreceivedBatches
  })
}