Refactor QBO billing to use ActiveJob; remove threaded billing and add manual job enqueue support

This commit is contained in:
2026-02-26 19:48:29 -05:00
parent 5d858ae186
commit a64016eb95
5 changed files with 159 additions and 110 deletions

View File

@@ -30,8 +30,6 @@ class Customer < ActiveRecord::Base
:type => :to_s,
:description => Proc.new {|o| "#{I18n.t :label_primary_phone}: #{o.phone_number} #{I18n.t:label_mobile_phone}: #{o.mobile_phone_number}"},
:datetime => Proc.new {|o| o.updated_at || o.created_at}
#default_scope { order(name: :asc) }
# Convenience Method
# returns the customer's email