Submit social housing lettings and sales data (CORE)
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
module Forms
|
|
|
|
module BulkUploadLettingsResume
|
|
|
|
class Chosen
|
|
|
|
include ActiveModel::Model
|
|
|
|
include ActiveModel::Attributes
|
|
|
|
include Rails.application.routes.url_helpers
|
|
|
|
|
|
|
|
attribute :bulk_upload
|
|
|
|
|
|
|
|
def view_path
|
|
|
|
bulk_upload.completed? ? "bulk_upload_lettings_resume/completed" : "bulk_upload_lettings_resume/chosen"
|
|
|
|
end
|
|
|
|
|
|
|
|
def back_path
|
|
|
|
lettings_logs_path
|
|
|
|
end
|
|
|
|
|
|
|
|
def next_path
|
|
|
|
lettings_logs_path
|
|
|
|
end
|
|
|
|
|
|
|
|
def save!
|
|
|
|
true
|
|
|
|
end
|
|
|
|
|
|
|
|
def preflight_valid?
|
|
|
|
true
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|