mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 02:09:39 +02:00
Add tech contacts attaching
This commit is contained in:
parent
80440d741b
commit
a9ee1cdad1
6 changed files with 90 additions and 7 deletions
|
@ -97,10 +97,6 @@ module Epp::DomainsHelper
|
|||
end
|
||||
|
||||
def domain_create_params
|
||||
period = (@ph[:period].to_i == 0) ? 1 : @ph[:period].to_i
|
||||
period_unit = Epp::EppDomain.parse_period_unit_from_frame(parsed_frame) || 'y'
|
||||
valid_to = Date.today + Epp::EppDomain.convert_period_to_time(period, period_unit)
|
||||
|
||||
{
|
||||
name: @ph[:name],
|
||||
registrar_id: current_epp_user.registrar.try(:id),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue