From 0308ddb8bc0dd3fb920ec3a0d2b3b3128e77b27e Mon Sep 17 00:00:00 2001 From: Daniel Covington Date: Tue, 11 Jun 2024 09:31:19 -0400 Subject: [PATCH] updating serial number and sorts for exports --- App/DomainModels/KitLabelsRepository.asp | 2 +- Data/Proofs.rep | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/App/DomainModels/KitLabelsRepository.asp b/App/DomainModels/KitLabelsRepository.asp index 584c405..934ec0a 100644 --- a/App/DomainModels/KitLabelsRepository.asp +++ b/App/DomainModels/KitLabelsRepository.asp @@ -210,7 +210,7 @@ Class KitLabelsRepository_Class s = s + 1 NewKitLabel.OutboundSerial = PadLeft(SerialStart + i,9,"0") NewKitLabel.InBoundSerial = PadLeft(SerialStart + i + 1,9,"0") - NewKitLabel.OutboundIMBDigits ="00716" & MailingID & NewKitLabel.OutboundSerial & "000000000" + NewKitLabel.OutboundIMBDigits ="00716" & MailingID & NewKitLabel.OutboundSerial NewKitLabel.InBoundIMBDigits = "00778" & MailingID & NewKitLabel.InBoundSerial & right(Jurisdiction.IMB_Digits,9) dim imbJson : imbJson = rest.FullRequestNoBody("get","/ppro-tools-api/imb/encode?imb=" & NewKitLabel.OutboundIMBDigits) diff --git a/Data/Proofs.rep b/Data/Proofs.rep index 57c6e2e..d359632 100644 --- a/Data/Proofs.rep +++ b/Data/Proofs.rep @@ -46,7 +46,7 @@ object TRpReport #9#9' FROM InkjetRecords'#13#10#9#9#9' LEFT JOIN [KitLabels] ON InkjetRecord' + 's.KitLabelID = KitLabels.ID'#13#10#9#9#9' WHERE InkjetRecords.KitID = PBK' + 'ITID AND InkjetRecords.ID >= PBMIN and InkjetRecords.ID <= PBMAX' + - ' Order by PRECINCT & Clng(BALLOT_NUMBER) ASC' + ' Order by PRECINCT ASC ,Clng(BALLOT_NUMBER) ASC' end item Alias = 'JURISDICTION'