diff --git a/app/views/qbo/_settings.html.erb b/app/views/qbo/_settings.html.erb index 5a3a733..79c64fd 100644 --- a/app/views/qbo/_settings.html.erb +++ b/app/views/qbo/_settings.html.erb @@ -58,8 +58,10 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI - <%=t(:label_oauth_expires)%> - <%= if Qbo.exists? then Qbo.first.expire end %> + <%=t(:label_oauth_expires)%> + <%= if Qbo.exists? then Qbo.first.oauth2_access_token_expires_at end %> + <%=t(:label_oauth2_refresh_token_expires_at)%> + <%= if Qbo.exists? then Qbo.first.oauth2_refresh_token_expires_at end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index 5543f76..8001ac6 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -87,4 +87,5 @@ en: label_billing_error: "Cannot bill without a customer assigned" label_qbo_sync_success: "Successfully synced to Quickbooks" label_hours: "Hours" + label_oauth2_refresh_token_expires_at: "Refresh Token Expires At" \ No newline at end of file