mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 08:54:23 -05:00
Update payments_controller.rb
This commit is contained in:
@@ -19,12 +19,9 @@ class PaymentsController < ApplicationController
|
||||
|
||||
@customers = Customer.all
|
||||
|
||||
account_base = Qbo.get_base(:account).service
|
||||
query = "SELECT Id, Name FROM Account WHERE AccountType = 'Checking' "
|
||||
@accounts = account_base.all
|
||||
@accounts = Qbo.get_base(:account).service.query("SELECT Id, Name FROM Account WHERE AccountType = 'Checking' ")
|
||||
|
||||
payment_method_base = Qbo.get_base(:payment_method).service
|
||||
@payment_methods = payment_method_base.all
|
||||
@payment_methods = Qbo.get_base(:payment_method).service.all
|
||||
end
|
||||
|
||||
def create
|
||||
|
||||
Reference in New Issue
Block a user