company = invoice.company json.notification do

json.title "#{I18n.t(:viewed, scope: LocaleScope::SCOPE_NOTIFICATIONS_INVOICE)} – #{company.primary_business.name}"
json.body "#{I18n.t(:invoice, scope: LocaleScope::SCOPE_NOTIFICATIONS_INVOICE)} #{invoice.statement_no} #{I18n.t(:viewed_by, scope: LocaleScope::SCOPE_NOTIFICATIONS_GENERIC)} #{invoice.connection_name}"
json.icon "https://s3.amazonaws.com/hiveage-production/defaults/business_logo.png"
json.click_action Rails.application.routes.url_helpers.invoice_url(invoice, host: NotificationHubHelper.host_url(company), 
        protocol: NotificationHubHelper.account_schema(company))

end