mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-11-17 18:20:36 -05:00
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:
10 files changed
+133
-7
No files matched your search
@@ -308,6 +308,10 @@ en:
|
||||
label_payment_method: "Payment method"
|
||||
label_payment_reference: "Reference no."
|
||||
label_payment_unapplied: "Unapplied (credit)"
|
||||
label_payments: "Payments"
|
||||
label_no_payments: "No payments from this customer in QuickBooks"
|
||||
label_payment_totals: "Total"
|
||||
permission_view_payments: "View payments"
|
||||
notice_payment_not_found: "Payment not found in QuickBooks"
|
||||
notice_payment_saved: "Payment of %{amount} saved in QuickBooks"
|
||||
text_no_payment_methods: "QuickBooks' payment methods couldn't be read. Check the QuickBooks connection."
|
||||
|
||||
+2
-2
@@ -68,8 +68,8 @@ resources :qbo_invoices, only: [:new, :create, :edit, :update] do
|
||||
end
|
||||
end
|
||||
|
||||
# Receive payment pages
|
||||
resources :qbo_payments, only: [:new, :create, :show] do
|
||||
# Receive payment pages, and a customer's payments (/qbo_payments?customer_id=)
|
||||
resources :qbo_payments, only: [:index, :new, :create, :show] do
|
||||
member do
|
||||
get :pdf
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user