From 75b25a9e444e4e2c07bc178a7c2f63540a0cb3f2 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Fri, 5 Aug 2016 09:01:09 -0400 Subject: [PATCH] Account Balance & Adresses --- app/views/customers/_details.html.erb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/app/views/customers/_details.html.erb b/app/views/customers/_details.html.erb index aee59fc..85898ce 100644 --- a/app/views/customers/_details.html.erb +++ b/app/views/customers/_details.html.erb @@ -20,6 +20,16 @@ <%= customer.mobile_phone %> + + Bill Address + <%= customer.billing_address %> + + + + Shipping Address + <%= customer.shipping_address %> + + Notes <%= customer.notes %> @@ -30,6 +40,16 @@ <%= customer.issues.count %> + + Account Balance + $<%= customer.balance %> + + + + Balance With Jobs + $<%= customer.balance_with_jobs %> + + <%= button_to "Edit Customer", edit_customer_path(customer), method: :get%>