Account Balance & Adresses

This commit is contained in:
2016-08-05 09:01:09 -04:00
committed by GitHub
parent 15912b2197
commit 75b25a9e44

View File

@@ -20,6 +20,16 @@
<td><%= customer.mobile_phone %></td>
</tr>
<tr>
<th>Bill Address</th>
<td><%= customer.billing_address %></td>
</tr>
<tr>
<th>Shipping Address</th>
<td><%= customer.shipping_address %></td>
</tr>
<tr>
<th>Notes</th>
<td><%= customer.notes %></td>
@@ -30,6 +40,16 @@
<td><%= customer.issues.count %></td>
</tr>
<tr>
<th>Account Balance</th>
<td>$<%= customer.balance %></td>
</tr>
<tr>
<th>Balance With Jobs</th>
<td>$<%= customer.balance_with_jobs %></td>
</tr>
<tr>
<td>
<%= button_to "Edit Customer", edit_customer_path(customer), method: :get%>