mirror of
https://github.com/internetee/registry.git
synced 2025-08-04 17:01:44 +02:00
REPP: Specific domain transfer action
This commit is contained in:
parent
1d9850fb98
commit
06088e33c5
4 changed files with 45 additions and 7 deletions
|
@ -11,10 +11,9 @@ module Domains
|
|||
def execute
|
||||
return domain_pricelist.price.amount if domain_pricelist.try(:price)
|
||||
|
||||
errors.add(:domain, I18n.t(:active_price_missing_for_operation_with_domain,
|
||||
domain: domain.name))
|
||||
|
||||
domain.add_epp_error(2104, nil, nil, I18n.t(:active_price_missing_for_this_operation))
|
||||
errors.add(:domain, I18n.t(:active_price_missing_for_operation_with_domain,
|
||||
domain: domain.name))
|
||||
false
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue