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'