Skip to content

Commit

Permalink
[NRPTI-1113] FEAT: Add summary to GTYJ enforcement outcome imports (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
pinkyandthekane authored Oct 16, 2023
1 parent 8a625fb commit b28f9eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/src/importers/coors/court-conviction-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ class CourtConvictions extends BaseRecordUtils {
description: ''
}
];
conviction['summary'] = 'Referred to Provincial Court as a disputed violation ticket.'
} else {
conviction['dateIssued'] = csvRow['final_decision_date'] || null;
conviction['recordName'] = (csvRow['case_no'] && `Case Number ${csvRow['case_no']}`) || '';
Expand Down
1 change: 1 addition & 0 deletions api/src/importers/coors/court-conviction-utils.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ describe('transformRecord', () => {
type: 'Fined'
}
],
summary: 'Referred to Provincial Court as a disputed violation ticket.',
sourceSystemRef: 'coors-csv'
})
})
Expand Down

0 comments on commit b28f9eb

Please sign in to comment.