Default to taxable, otherwise folllow tax flag

This commit is contained in:
2026-03-17 18:27:56 -04:00
parent 24e3e4ba82
commit 2703d6cc3e

View File

@@ -58,7 +58,7 @@ class BillLineItemsJob < ActiveJob::Base
line.sales_item! do |detail|
detail.unit_price = item.unit_price
detail.quantity = item.quantity
detail.tax_code_ref = Quickbooks::Model::BaseReference.new("TAX")
detail.tax_code_ref = Quickbooks::Model::BaseReference.new("TAX") item.item.nil? || item.item.taxable
end
estimate.line_items << line