| <%=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) if customer.primary_phone %> |
| <%=t(:label_mobile_phone)%> |
<%= number_to_phone(customer.mobile_phone.gsub(/[^\d]/, '').to_i, area_code: true) if customer.mobile_phone %> |
| <%=t(:label_billing_address)%> |
<%= @billing_address %> |
| <%=t(:label_shipping_address)%> |
<%= @shipping_address %> |
| <%=t(:label_account_balance)%> |
$<%= customer.balance %> |
| <%=t(:field_notes)%> |
<%= customer.notes %> |
<%= button_to t(:label_edit_customer), edit_customer_path(customer), method: :get%>