Add a customer payments page

Payments on the customer page lists the customer's QuickBooks payments, newest first, with the
invoices each was applied to, memo, amount, unapplied credit and totals; each links to the payment
page and its PDF. A new View payments permission allows the list, payment page and PDF; Receive
payments includes it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BiwYMjhoQvL7XsKKfRz4pM
This commit is contained in:
Claude committed 2026-10-31 00:00:36 -04:00
1 parent 9121e079a0
commit 14f0409395
10 files changed
+133 -7

No files matched your search

+2 -1
View File
@@ -49,7 +49,8 @@ Redmine::Plugin.register :redmine_qbo do
permission :write_invoices, { qbo_invoices: [:new, :create, :edit, :update, :import_options],
qbo_estimates: [:customer_info, :items] }, global: true
permission :send_invoices, { qbo_invoices: [:send_email] }, global: true
permission :receive_payments, { qbo_payments: [:new, :create, :show, :pdf, :open_invoices],
permission :view_payments, { qbo_payments: [:index, :show, :pdf] }, global: true
permission :receive_payments, { qbo_payments: [:index, :new, :create, :show, :pdf, :open_invoices],
qbo_estimates: [:customer_info] }, global: true
# The product/service list, accounts and their syncs are admin-only (see ItemsController, AccountsController)