mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 00:42:04 +02:00
Add period parameter to form
This commit is contained in:
parent
7dd3005bf3
commit
3ef6c53a8c
4 changed files with 25 additions and 0 deletions
|
@ -12,6 +12,8 @@ class Registrar
|
|||
authorize! :manage, :repp
|
||||
@expire_date = params[:expire_date].to_date
|
||||
@domains = domains_by_date(@expire_date)
|
||||
@period = params[:period]
|
||||
|
||||
if domain_ids_for_bulk_renew.present?
|
||||
domains = Epp::Domain.where(id: domain_ids_for_bulk_renew).to_a
|
||||
task = Domains::BulkRenew::Start.run(domains: domains)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue