diff --git a/app/views/customers/show.html.erb b/app/views/customers/show.html.erb
index 7c6e583..209a1c8 100644
--- a/app/views/customers/show.html.erb
+++ b/app/views/customers/show.html.erb
@@ -2,14 +2,27 @@
<%=t(:label_no_estimates)%>.
+<% end %> diff --git a/app/views/invoices/_list.html.erb b/app/views/invoices/_list.html.erb new file mode 100644 index 0000000..18c0da9 --- /dev/null +++ b/app/views/invoices/_list.html.erb @@ -0,0 +1,11 @@ +<% if @customer.present? %> + + <% @customer.qbo_invoices.each do |invoice| %> +<%=t(:label_no_invoices)%>.
+<% end %> diff --git a/config/locales/en.yml b/config/locales/en.yml index dc7946d..7f10fb8 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -73,4 +73,7 @@ en: label_webhook_token: "Intuit QBO Webhook Token" label_oauth_expires: "OAuth2 Access Token Expires At" label_oauth_note: "Note: You need to authenticate with Quickbooks after saving your key and secret above" - field_customers: "Customers" \ No newline at end of file + field_customers: "Customers" + label_no_estimates: "No Estimates" + label_no_invoices: "No Invoices" + label_invoices: "Invoices" \ No newline at end of file