Refactored QBO service calls

This commit is contained in:
2026-03-14 00:10:10 -04:00
parent 164252cb97
commit cd109f16b5
8 changed files with 25 additions and 60 deletions

View File

@@ -15,8 +15,6 @@ class PdfService
def initialize(entity: entity)
raise "An entity to sync is required" unless entity
@entity = entity
@qbo = QboConnectionService.current!
raise "No QBO configuration found" unless @qbo
end
# Fetches the PDF for the given entity IDs. If multiple IDs are provided, their PDFs are combined into a single document.