mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-11-17 18:20:36 -05:00
Cache totals, man-hours and payments; add a business report
- Estimates now keep their total; estimates and invoices keep their man-hours: the quantities of the products/services set as "Replaced by imported time" (bundles included; the estimate item codes while that setting is blank). Filled in by the webhook and the sync. - Payment model (QboBaseModel) caching each payment's customer, date, amount and unapplied amount, kept current by the webhook, the sync and the Receive payment page. - Business report (View business reports permission, top menu): estimates written vs. invoices written vs. payments received, and estimated hours on estimates and issues vs. invoiced and spent hours, for a period, with a month-by-month breakdown. - Fix two keyword arguments that defaulted to themselves (QboSyncDispatcher.enque_jobs, PdfService), which newer Ruby refuses to parse. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM
This commit is contained in:
20 files changed
+590
-5
No files matched your search
@@ -93,3 +93,6 @@ resources :accounts do
|
||||
get :sync
|
||||
end
|
||||
end
|
||||
|
||||
# Business report (estimates, invoices, payments and hours for a period)
|
||||
get 'qbo_reports', to: 'qbo_reports#index', as: :qbo_reports
|
||||
Reference in new issue
Block a user