| <%= t(:label_name) %> | <%= customer.name %> |
|---|---|
| <%= t(:label_email) %> | <%= customer.email %> |
| <%= t(:label_primary_phone) %> | <%= number_to_phone(customer&.primary_phone&.gsub(/[^\d]/, '').to_i, area_code: true) %> |
| <%= t(:label_mobile_phone) %> | <%= number_to_phone(customer&.mobile_phone&.gsub(/[^\d]/, '').to_i, area_code: true) %> |
| <%= t(:label_billing_address) %> | <%= @billing_address %> |
| <%= t(:label_shipping_address) %> | <%= @shipping_address %> |
| <%= t(:label_account_balance) %> | $<%= customer.balance %> |
<%= t(:field_notes) %> |
|
|
<%= textilizable(customer, :notes) %>
|
|