diff --git a/App/Views/Kit/SwitchBoardPurpleEnvelopeEdit.asp b/App/Views/Kit/SwitchBoardPurpleEnvelopeEdit.asp index beff653..a0cae38 100644 --- a/App/Views/Kit/SwitchBoardPurpleEnvelopeEdit.asp +++ b/App/Views/Kit/SwitchBoardPurpleEnvelopeEdit.asp @@ -10,15 +10,18 @@

Labels Printed On : <%= Model.Kit.LabelsPrinted %>

Exported to SnailWorks On: <%= Model.Kit.ExportedToSnailWorks %>

<% IF Model.Kit.Status = "Ready To Assign STIDS" THEN %> +

Amount of Office Copies:

+ <%= HTML.TextBox("OfficeCopies","0") %> +

Select Outbound STID:

<%= HTML.FormTag("Kit","SwitchBoardPurpleEnvelopeEditPost",empty,empty) %> <%= HTML.Hidden("nonce", HTMLSecurity.GetAntiCSRFToken("KitEditForm")) %> <%= HTML.Hidden("Id", Model.Kit.ID) %> <%= HTML.DropDownListExt("OutboundSTID","hmm",Model.StidDropDown,"STID","OPTION",Array("Class","form-select")) %>

- <%= HTML.Checkbox("InBoundTracking",0) %> Inbound Tracking + <%= HTML.Checkbox("InBoundTracking",0) %>Inbound Tracking

- <%= HTML.Button("submit", " Save", "btn-primary") %> +

<%= HTML.Button("submit", " Save", "btn-primary") %>

<% END IF %> diff --git a/Data/Migrations/Migration_17_Alter_Kit_Table_With_OfficeCopiesAmount.asp b/Data/Migrations/Migration_17_Alter_Kit_Table_With_OfficeCopiesAmount.asp new file mode 100644 index 0000000..7e94193 --- /dev/null +++ b/Data/Migrations/Migration_17_Alter_Kit_Table_With_OfficeCopiesAmount.asp @@ -0,0 +1,16 @@ +<% +Class Migration_17_Alter_Kit_Table_With_OfficeCopiesAmount + Public Migration + + Public Sub Up + Migration.Do "ALTER TABLE [Kit] " &_ + "ADD [OfficeCopiesAmount] Long;" +End Sub + + Public Sub Down + Migration.Do "ALTER TABLE [Kit] " &_ + "DROP COLUMN [OfficeCopiesAmount];" + End Sub +End Class + Migrations.Add "Migration_17_Alter_Kit_Table_With_OfficeCopiesAmount" + %> \ No newline at end of file diff --git a/Data/Migrations/migrate.asp b/Data/Migrations/migrate.asp index 4b671c5..f2d5437 100644 --- a/Data/Migrations/migrate.asp +++ b/Data/Migrations/migrate.asp @@ -44,7 +44,7 @@ Migrations.Tracing = false - + <% Sub HandleMigration putl "Starting Version: " & Migrations.Version & ""