internetee/registry

View on GitHub
app/views/admin/invoices/partials/_buyer.haml

Summary

Maintainability
Test Coverage
%h4= t(:buyer)
%hr
%dl.dl-horizontal
  %dt= t(:name)
  %dd= @invoice.buyer_name

  %dt= t(:reg_no)
  %dd= @invoice.buyer_reg_no

  %dt= Registrar.human_attribute_name :vat_no
  %dd= @invoice.buyer_vat_no

  %dt= t(:address)
  %dd= @invoice.buyer_address

  %dt= t(:country)
  %dd= @invoice.buyer_country

  %dt= t(:phone)
  %dd= @invoice.buyer_phone

  %dt= t(:url)
  %dd= @invoice.buyer_url

  %dt= t(:email)
  %dd= @invoice.buyer_email