diff --git a/app/jobs/bill_line_items_job.rb b/app/jobs/bill_line_items_job.rb index bdb5e8a..d98b7bb 100644 --- a/app/jobs/bill_line_items_job.rb +++ b/app/jobs/bill_line_items_job.rb @@ -46,7 +46,7 @@ class BillLineItemsJob < ActiveJob::Base estimate = Quickbooks::Model::Estimate.new(customer_id: issue.customer.id) estimate_service = Quickbooks::Service::Estimate.new( company_id: qbo.realm_id, access_token: access_token) - estimate.line_items << Quickbooks::Model::InvoiceLineItem.new(description: "Added from issue ##{issue.id} #{issue.subject}", detail_type: 'DescriptionOnly' ) + estimate.line_items << Quickbooks::Model::InvoiceLineItem.new(description: "#{I18n.t(:notice_added_from)}#{issue.id} #{issue.subject}", detail_type: 'DescriptionOnly' ) unbilled_entries.each do |item| log "Creating Line Item for #{item.description}" diff --git a/config/locales/en.yml b/config/locales/en.yml index 1cce1f9..d5a3fcf 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -18,4 +18,5 @@ en: label_qty: "Quantity" label_remove: "Remove" label_total: "Total" + notice_added_from: "Added from issue #" \ No newline at end of file