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.
28 lines
633 B
28 lines
633 B
2 years ago
|
module Forms
|
||
|
module BulkUploadSales
|
||
|
class Guidance
|
||
|
include ActiveModel::Model
|
||
|
include ActiveModel::Attributes
|
||
|
include Rails.application.routes.url_helpers
|
||
|
|
||
|
attribute :year, :integer
|
||
|
|
||
|
def view_path
|
||
|
"bulk_upload_shared/guidance"
|
||
|
end
|
||
|
|
||
|
def back_path
|
||
|
bulk_upload_sales_log_path(id: "prepare-your-file", form: { year: })
|
||
|
end
|
||
|
|
||
|
def template_path
|
||
|
Forms::BulkUploadSales::PrepareYourFile.new(year:).template_path
|
||
|
end
|
||
|
|
||
|
def specification_path
|
||
|
Forms::BulkUploadSales::PrepareYourFile.new(year:).specification_path
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|