From c7a313e9ed12e368572ca072130d75b146a70e10 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Wed, 3 Apr 2024 11:47:38 -0400 Subject: [PATCH] Add customer name to details --- app/views/customers/_details.html.erb | 6 ++++++ config/locales/en.yml | 1 + 2 files changed, 7 insertions(+) diff --git a/app/views/customers/_details.html.erb b/app/views/customers/_details.html.erb index a0239a4..abee3aa 100644 --- a/app/views/customers/_details.html.erb +++ b/app/views/customers/_details.html.erb @@ -1,5 +1,11 @@ + + + + + + diff --git a/config/locales/en.yml b/config/locales/en.yml index 8001ac6..d998aff 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -88,4 +88,5 @@ en: label_qbo_sync_success: "Successfully synced to Quickbooks" label_hours: "Hours" label_oauth2_refresh_token_expires_at: "Refresh Token Expires At" + label_name: "Name" \ No newline at end of file
<%=t(:label_name)%><%= customer.name %>
<%=t(:label_email)%> <%= customer.email %>