From aeb981b368e635000dd3b233e005e6f7d4dde8fc Mon Sep 17 00:00:00 2001 From: Daniel Covington Date: Thu, 18 Apr 2024 14:23:27 -0400 Subject: [PATCH] added this --- Data/Label_Report.rep | 276 ++++++++++++++++-- ...tion_08_Alter_Kit_Table_With_InkjetJob.asp | 16 + ...igration_09_Create_InkJetRecords_Table.asp | 44 +++ Data/Migrations/migrate.asp | 2 + 4 files changed, 306 insertions(+), 32 deletions(-) create mode 100644 Data/Migrations/Migration_08_Alter_Kit_Table_With_InkjetJob.asp create mode 100644 Data/Migrations/Migration_09_Create_InkJetRecords_Table.asp diff --git a/Data/Label_Report.rep b/Data/Label_Report.rep index 9771a06..9c91fed 100644 --- a/Data/Label_Report.rep +++ b/Data/Label_Report.rep @@ -118,6 +118,30 @@ object TRpReport end item Component = TRpExpression4 + end + item + Component = TRpExpression5 + end + item + Component = TRpExpression6 + end + item + Component = TRpExpression7 + end + item + Component = TRpLabel3 + end + item + Component = TRpExpression8 + end + item + Component = TRpExpression9 + end + item + Component = TRpExpression10 + end + item + Component = TRpExpression11 end> ExternalTable = 'REPMAN_REPORTS' ExternalField = 'REPORT' @@ -138,13 +162,11 @@ object TRpReport object TRpExpression0: TRpExpression Width = 4080 Height = 360 - PosX = 180 - PosY = 180 - Align = rpalclient + PosX = 295 + PosY = 295 Type1Font = poLinked FontSize = 11 Alignment = 1 - VAlignment = 8 AutoExpand = False AutoContract = False ExportPosition = 0 @@ -1003,6 +1025,129 @@ object TRpReport 91489C878772AC36CD924E6DE38C9CF39C0C7D918A3145C2E18A4DA3D2968A00 28A28A0028A28A0028A28A0028A28A0028A28A0028A28A00FFD9} end + object TRpExpression2: TRpExpression + Width = 1740 + Height = 300 + PosX = 3000 + PosY = 600 + Type1Font = poHelvetica + AutoExpand = False + AutoContract = False + ExportPosition = 0 + ExportSize = 1 + ExportDoNewLine = False + PrintCondition = '' + DoBeforePrint = '' + DoAfterPrint = '' + WFontName = 'Arial' + LFontName = 'Helvetica' + Expression = 'KITLABELS.OutboundSerial' + DisplayFormat = '' + ExportDisplayFormat = '' + AgIniValue = '0' + ExportExpression = '' + end + object TRpLabel1: TRpLabel + Width = 1440 + Height = 240 + PosX = 3240 + PosY = 1200 + Type1Font = poHelvetica + FontSize = 11 + Alignment = 2 + PrintCondition = '' + DoBeforePrint = '' + DoAfterPrint = '' + WFontName = 'Arial' + LFontName = 'Helvetica' + WideText = 'Outbound' + end + object TRpLabel2: TRpLabel + Width = 1440 + Height = 300 + PosX = 2820 + PosY = 1620 + Type1Font = poHelvetica + FontSize = 11 + Alignment = 2 + PrintCondition = '' + DoBeforePrint = '' + DoAfterPrint = '' + WFontName = 'Arial' + LFontName = 'Helvetica' + WideText = 'Inbound' + end + object TRpExpression3: TRpExpression + Width = 1740 + Height = 180 + PosX = 1560 + PosY = 1860 + Type1Font = poHelvetica + FontSize = 7 + Alignment = 2 + AutoExpand = False + AutoContract = False + ExportPosition = 0 + ExportSize = 1 + ExportDoNewLine = False + PrintCondition = '' + DoBeforePrint = '' + DoAfterPrint = '' + WFontName = 'Arial' + LFontName = 'Helvetica' + Expression = 'KITLABELS.OutboundSerial' + DisplayFormat = '' + ExportDisplayFormat = '' + AgIniValue = '0' + ExportExpression = '' + end + object TRpExpression4: TRpExpression + Width = 1485 + Height = 300 + PosX = 360 + PosY = 1680 + Type1Font = poHelvetica + AutoExpand = False + AutoContract = False + ExportPosition = 0 + ExportSize = 1 + ExportDoNewLine = False + PrintCondition = '' + DoBeforePrint = '' + DoAfterPrint = '' + WFontName = 'Arial' + LFontName = 'Helvetica' + Expression = #39'SET: '#39' + STR(KITLABELS.SetNumber)' + DisplayFormat = '' + ExportDisplayFormat = '' + AgIniValue = '0' + ExportExpression = '' + end + object TRpExpression6: TRpExpression + Width = 4980 + Height = 300 + PosX = 6480 + PosY = 600 + Type1Font = poEmbedded + FontSize = 17 + FontStyle = 1 + Alignment = 2 + AutoExpand = False + AutoContract = False + ExportPosition = 0 + ExportSize = 1 + ExportDoNewLine = False + PrintCondition = '' + DoBeforePrint = '' + DoAfterPrint = '' + WFontName = 'USPSIMBStandard' + LFontName = 'Helvetica' + Expression = 'KITLABELS.OutboundIMB' + DisplayFormat = '' + ExportDisplayFormat = '' + AgIniValue = '0' + ExportExpression = '' + end object TRpExpression1: TRpExpression Width = 5460 Height = 240 @@ -1029,12 +1174,14 @@ object TRpReport AgIniValue = '0' ExportExpression = '' end - object TRpExpression2: TRpExpression - Width = 1740 - Height = 300 - PosX = 3000 - PosY = 600 + object TRpExpression7: TRpExpression + Width = 5460 + Height = 240 + PosX = 6060 + PosY = 1150 Type1Font = poHelvetica + FontSize = 7 + Alignment = 2 AutoExpand = False AutoContract = False ExportPosition = 0 @@ -1045,7 +1192,9 @@ object TRpReport DoAfterPrint = '' WFontName = 'Arial' LFontName = 'Helvetica' - Expression = 'LABLES.OutboundSerial' + Expression = + #39'InBound Tracking Labels crreated by TrackMIBallot for '#39' + KITL' + + 'ABELS.Jurisdiction' DisplayFormat = '' ExportDisplayFormat = '' AgIniValue = '0' @@ -1066,41 +1215,74 @@ object TRpReport LFontName = 'Helvetica' WideText = '5/7/2024' end - object TRpLabel1: TRpLabel + object TRpLabel3: TRpLabel Width = 1440 Height = 240 - PosX = 3240 - PosY = 1200 + PosX = 5760 + PosY = 1380 Type1Font = poHelvetica - FontSize = 11 + FontSize = 7 Alignment = 2 PrintCondition = '' DoBeforePrint = '' DoAfterPrint = '' WFontName = 'Arial' LFontName = 'Helvetica' - WideText = 'Outbound' + WideText = '5/7/2024' end - object TRpLabel2: TRpLabel - Width = 1440 - Height = 300 - PosX = 2820 - PosY = 1620 + object TRpExpression8: TRpExpression + Width = 2640 + Height = 240 + PosX = 7140 + PosY = 1380 Type1Font = poHelvetica - FontSize = 11 + FontSize = 7 + Alignment = 4 + AutoExpand = False + AutoContract = False + ExportPosition = 0 + ExportSize = 1 + ExportDoNewLine = False + PrintCondition = '' + DoBeforePrint = '' + DoAfterPrint = '' + WFontName = 'Arial' + LFontName = 'Helvetica' + Expression = 'KITLABELS.Mailing_Address' + DisplayFormat = '' + ExportDisplayFormat = '' + AgIniValue = '0' + ExportExpression = '' + end + object TRpExpression5: TRpExpression + Width = 1740 + Height = 240 + PosX = 9780 + PosY = 360 + Type1Font = poHelvetica + FontSize = 7 Alignment = 2 + AutoExpand = False + AutoContract = False + ExportPosition = 0 + ExportSize = 1 + ExportDoNewLine = False PrintCondition = '' DoBeforePrint = '' DoAfterPrint = '' WFontName = 'Arial' LFontName = 'Helvetica' - WideText = 'Inbound' + Expression = 'KITLABELS.OutboundSerial' + DisplayFormat = '' + ExportDisplayFormat = '' + AgIniValue = '0' + ExportExpression = '' end - object TRpExpression3: TRpExpression + object TRpExpression9: TRpExpression Width = 1740 - Height = 180 - PosX = 1560 - PosY = 1860 + Height = 240 + PosX = 9780 + PosY = 1380 Type1Font = poHelvetica FontSize = 7 Alignment = 2 @@ -1114,18 +1296,46 @@ object TRpReport DoAfterPrint = '' WFontName = 'Arial' LFontName = 'Helvetica' - Expression = 'LABLES.OutboundSerial' + Expression = 'KITLABELS.OutboundSerial' DisplayFormat = '' ExportDisplayFormat = '' AgIniValue = '0' ExportExpression = '' end - object TRpExpression4: TRpExpression - Width = 1485 + object TRpExpression10: TRpExpression + Width = 4920 Height = 300 - PosX = 360 - PosY = 1680 + PosX = 6540 + PosY = 1620 + Type1Font = poEmbedded + FontSize = 17 + FontStyle = 1 + Alignment = 2 + AutoExpand = False + AutoContract = False + ExportPosition = 0 + ExportSize = 1 + ExportDoNewLine = False + PrintCondition = '' + DoBeforePrint = '' + DoAfterPrint = '' + WFontName = 'USPSIMBStandard' + LFontName = 'Helvetica' + Expression = 'KITLABELS.InBoundIMB' + DisplayFormat = '' + ExportDisplayFormat = '' + AgIniValue = '0' + ExportExpression = '' + end + object TRpExpression11: TRpExpression + Width = 2655 + Height = 570 + PosX = 225 + PosY = 1035 Type1Font = poHelvetica + FontSize = 7 + FontStyle = 1 + WordWrap = True AutoExpand = False AutoContract = False ExportPosition = 0 @@ -1136,7 +1346,9 @@ object TRpReport DoAfterPrint = '' WFontName = 'Arial' LFontName = 'Helvetica' - Expression = #39'SET: '#39' + STR(KITLABELS.SetNumber)' + Expression = + #39'Code Expires on 5/7/2024 '#39' +'#13#10#39'Destroy Unused Lables '#39' +'#13#10#39'afte' + + 'r election'#39 DisplayFormat = '' ExportDisplayFormat = '' AgIniValue = '0' diff --git a/Data/Migrations/Migration_08_Alter_Kit_Table_With_InkjetJob.asp b/Data/Migrations/Migration_08_Alter_Kit_Table_With_InkjetJob.asp new file mode 100644 index 0000000..92d820a --- /dev/null +++ b/Data/Migrations/Migration_08_Alter_Kit_Table_With_InkjetJob.asp @@ -0,0 +1,16 @@ +<% +Class Migration_08_Alter_Kit_Table_With_InkjetJob + Public Migration + + Public Sub Up + Migration.Do "ALTER TABLE [Kit] " &_ + "ADD [InkJetJob] BIT DEFAULT '0';" +End Sub + + Public Sub Down + Migration.Do "ALTER TABLE [Kit] " &_ + "DROP COLUMN [InkJetJob];" + End Sub +End Class + Migrations.Add "Migration_08_Alter_Kit_Table_With_InkjetJob" + %> \ No newline at end of file diff --git a/Data/Migrations/Migration_09_Create_InkJetRecords_Table.asp b/Data/Migrations/Migration_09_Create_InkJetRecords_Table.asp new file mode 100644 index 0000000..e5b6dc0 --- /dev/null +++ b/Data/Migrations/Migration_09_Create_InkJetRecords_Table.asp @@ -0,0 +1,44 @@ +<% +Class Migration_09_Create_InkJetRecords_Table + Public Migration + + Public Sub Up + Migration.Do "CREATE TABLE [InkjetRecords] (" &_ + "[ID] COUNTER, " &_ + "[KitID] NUMBER, " &_ + "[VOTERID] VARCHAR(255), " &_ + "[LASTNAME] VARCHAR(255), " &_ + "[FIRSTNAME] VARCHAR(255), " &_ + "[MIDDLENAME] VARCHAR(255), " &_ + "[SUFFIX] VARCHAR(255), " &_ + "[PRECINCT] VARCHAR(255), " &_ + "[ADDRESS1] VARCHAR(255), " &_ + "[ADDRESS2] VARCHAR(255), " &_ + "[ADDRESS3] VARCHAR(255), " &_ + "[ADDRESS4] VARCHAR(255), " &_ + "[ADDRESS5] VARCHAR(255), " &_ + "[APPSENT] VARCHAR(255), " &_ + "[APPRETURNED] VARCHAR(255), " &_ + "[BALSENT] VARCHAR(255), " &_ + "[BALRETURNED] VARCHAR(255), " &_ + "[CountingBoard] VARCHAR(255), " &_ + "[UOCAVASTATUS] VARCHAR(255), " &_ + "[EMAILADDRESS] VARCHAR(255), " &_ + "[PHONENUMBER] VARCHAR(255), " &_ + "[BALLOT_NUMBER] VARCHAR(255), " &_ + "[CassADDRESS1] VARCHAR(255), " &_ + "[CassADDRESS2] VARCHAR(255), " &_ + "[CassADDRESS3] VARCHAR(255), " &_ + "[CassADDRESS4] VARCHAR(255), " &_ + "[CassADDRESS5] VARCHAR(255)" &_ + ");" + Migration.Do "CREATE UNIQUE INDEX [ID] ON [InkjetRecords]( [ID] ) WITH PRIMARY;" + Migration.Do "CREATE INDEX [Jcode] ON [InkjetRecords]( [KitID] );" +End Sub + + Public Sub Down + Migration.Do "DROP TABLE [InkjetRecords]" + End Sub +End Class + Migrations.Add "Migration_09_Create_InkJetRecords_Table" + %> \ No newline at end of file diff --git a/Data/Migrations/migrate.asp b/Data/Migrations/migrate.asp index 0628c36..b05b5d4 100644 --- a/Data/Migrations/migrate.asp +++ b/Data/Migrations/migrate.asp @@ -36,6 +36,8 @@ Migrations.Tracing = false + + <% Sub HandleMigration putl "Starting Version: " & Migrations.Version & ""