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