Update _details.html.erb

This commit is contained in:
2016-08-05 09:06:58 -04:00
committed by GitHub
parent 501834419b
commit 3c3b4da313

View File

@@ -12,12 +12,12 @@
<tr>
<th>Primary Phone</th>
<td><%= customer.primary_phone %></td>
<td><%= number_to_phone(customer.primary_phone.gsub(/[^\d]/, '').to_i, area_code: true) %></td>
</tr>
<tr>
<th>Mobile Phone</th>
<td><%= customer.mobile_phone %></td>
<td><%= number_to_phone(customer.mobile_phone.gsub(/[^\d]/, '').to_i, area_code: true) %></td>
</tr>
<tr>