internetee-registry/app/views/mailers/shared/registrant/_registrant.et.text.erb
Artur Beljajev bfc0c0b74f Improve RegistrantChangeMailer
- Do not show registrant address unless "address_processing" is enabled
- Add missing registrant state and zip attributes

#480
2017-05-18 15:59:06 +03:00

15 lines
459 B
Text

Nimi: <%= registrant.name %>
<% if registrant.priv? %>
Isikukood: <%= registrant.ident %>
<% else %>
Äriregistrikood: <%= registrant.ident %>
<% end %>
<% if address_processing %>
Tänav: <%= registrant.street %>
Linn: <%= registrant.city %>
Maakond: <%= registrant.state %>
Sihtnumber: <%= registrant.zip %>
Riik: <%= registrant.country(locale: :et) %>
<% else %>
Riik: <%= registrant.ident_country(locale: :et) %>
<% end %>