Skip to content

Instantly share code, notes, and snippets.

@avidas
Last active August 15, 2017 11:31
Show Gist options
  • Save avidas/01d683b6fe895ed0b2b4b423ef5783c0 to your computer and use it in GitHub Desktop.
Save avidas/01d683b6fe895ed0b2b4b423ef5783c0 to your computer and use it in GitHub Desktop.
Cancel Move In for Finalized SD Invoice Reservations https://jira.we.co/browse/REVENG-121
# JIRA: REVENG-121
# cancel move in for Office 16-116 in Tower 49 for Gimbal EUAETK
begin
Rails.logger.info "JIRA REVENG-121 starting to cancel move in for Office 16-116 in Tower 49 for Gimbal EUAETK"
TenantService.switch_to_rest_of_world_tenant
pr = PrimaryReservation.find(600203682)
pr.canceled_at = DateTime.new(2017,9,1)
pr.save!
Rails.logger.info "JIRA REVENG-121 done canceling move in for Office 16-116 in Tower 49 for Gimbal EUAETK "
end
@avidas
Copy link
Author

avidas commented Aug 14, 2017

@jhjwind
Copy link

jhjwind commented Aug 15, 2017

๐Ÿ‘

@itai-katz
Copy link

@avidas any reason not to call cancel! on that reservation?

@kgoettsc
Copy link

๐Ÿ‘ as long as all things associated have already been canceled/refunded by billing or community

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment